Changeset 648
- Timestamp:
- 2008-06-27 22:50:59 (2 months ago)
- Files:
-
- 1 modified
-
plugins/suggestr/trunk/suggestr.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/suggestr/trunk/suggestr.js
r634 r648 58 58 }, 59 59 clickable: function() { 60 $('#tagsuggestions li').each(function() { 61 var searchstr = '\\s*"?' + $( this ).text() + '"?\\s*'; 62 63 if($('#tags').val().search(searchstr) != -1) { 64 $(this).addClass('clicked'); 65 } 66 }); 60 67 $('#tagsuggestions li').click(function() { 61 68 // here we set the current text of #tags to current for later examination
