mirror of
https://github.com/owncloud/bookmarks.git
synced 2024-12-01 05:24:11 +01:00
Fix unbinding of event , thanks to tanghus
This commit is contained in:
parent
57361d9d7d
commit
046b6dff47
@ -45,7 +45,7 @@ function watchClickInSetting(e){
|
||||
function toggleSettings() {
|
||||
if( $('#bookmark_settings').hasClass('open')) { //Close
|
||||
$('#bookmark_settings').switchClass( "open", "" );
|
||||
$('body').unbind('click');
|
||||
$('body').unbind('click', watchClickInSetting);
|
||||
}
|
||||
else {
|
||||
$('#bookmark_settings').switchClass( "", "open");
|
||||
|
Loading…
Reference in New Issue
Block a user