Browse Source

Merge pull request #263 from powentan/v2.7.0

Fix the position of button_settings context menu if the user move scroll bar on mobile device
Tobias Reich 9 years ago
parent
commit
082847553b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/scripts/init.js

+ 1 - 1
src/scripts/init.js

@@ -18,7 +18,7 @@ $(document).ready(function(){
 	/* Header */
 	$("#hostedwith").on(event_name, function() { window.open(lychee.website) });
 	$("#button_signin").on(event_name, lychee.loginDialog);
-	$("#button_settings").on("click", contextMenu.settings);
+	$("#button_settings").on(event_name, contextMenu.settings);
 	$("#button_share").on(event_name, function(e) {
 		if (photo.json.public==1||photo.json.public==2) contextMenu.sharePhoto(photo.getID(), e);
 		else photo.setPublic(photo.getID(), e);