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

don't remove msg() errors on click

this interferred with copy'n'pasting error messages
parent fe165917
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,6 @@ var dw_behaviour = {
init: function(){
dw_behaviour.focusMarker();
dw_behaviour.scrollToMarker();
dw_behaviour.closeMsgOnClick();
dw_behaviour.removeHighlightOnClick();
dw_behaviour.quickSelect();
dw_behaviour.checkWindowsShares();
......@@ -37,17 +36,6 @@ var dw_behaviour = {
jQuery('#focus__this').focus();
},
/**
* Close messages shown by the msg() PHP function by click
*/
closeMsgOnClick: function(){
jQuery('div.success, div.info, div.error, div.notify').click(
function(e){
jQuery(e.target).fadeOut('fast');
}
);
},
/**
* Remove all search highlighting when clicking on a highlighted term
*
......
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