Bug Tracker

Modify

Ticket #8503 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Missing apostrophes in the documentation

Reported by: info@… Owned by: info@…
Priority: low Milestone: 1.next
Component: unfiled Version: 1.5.1
Keywords: Cc:
Blocking: Blocked by:

Description

Hey there! I've noticed a bug in the documentation. You wrote the following: $(document).ready(function() {

$("a[href*=/content/gallery]").click(function() {

do something with all links that point somewhere to /content/gallery

});

});

But the link has to be in apostrophes: "a[href*='/content/gallery']" elsewise the effect won't work on the link. Please fix it :)

Change History

comment:1 Changed 2 years ago by dmethvin

  • Owner set to info@…
  • Status changed from new to pending

Can you post a link to the page where you see this problem?

comment:2 Changed 2 years ago by addyosmani

  • Priority changed from undecided to low
  • Status changed from pending to closed
  • Resolution set to fixed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.