From 4b9030effb16c2f9145ec77c3b15a7841aa760c5 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Thu, 27 Nov 2014 23:10:05 +0100 Subject: [PATCH] Code adjustments --- src/scripts/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/init.js b/src/scripts/init.js index 722fe41..66ca6ee 100755 --- a/src/scripts/init.js +++ b/src/scripts/init.js @@ -161,7 +161,7 @@ $(document).ready(function() { .on(event_name, '.message .button:last', function() { if (modal.fns!==null) modal.fns[1](); if (!visible.signin()) modal.close() }) /* Add Dialog */ - .on(event_name, '.button_add', function(e) { contextMenu.add(e) }) + .on(event_name, '.button_add', contextMenu.add) /* Context Menu */ .on('contextmenu', '.photo', function(e) { contextMenu.photo(photo.getID(), e) })