1
0
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:
Brice Maron 2012-11-22 18:21:43 +00:00
parent 57361d9d7d
commit 046b6dff47

View File

@ -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");