Skip to content
Snippets Groups Projects
Commit 7326f914 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fade out search hit colorization

parent 5d08913b
No related branches found
No related tags found
No related merge requests found
......@@ -79,13 +79,11 @@ var dw_behaviour = {
/**
* Remove all search highlighting when clicking on a highlighted term
*
* @FIXME would be nice to have it fade out
*/
removeHighlightOnClick: function(){
jQuery('span.search_hit').click(
function(e){
jQuery(e.target).removeClass('search_hit');
jQuery(e.target).removeClass('search_hit', 1000);
}
);
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment