Code adjustments

This commit is contained in:
Tobias Reich 2014-11-27 23:10:05 +01:00
parent 1860b23810
commit 4b9030effb

View File

@ -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() }) .on(event_name, '.message .button:last', function() { if (modal.fns!==null) modal.fns[1](); if (!visible.signin()) modal.close() })
/* Add Dialog */ /* Add Dialog */
.on(event_name, '.button_add', function(e) { contextMenu.add(e) }) .on(event_name, '.button_add', contextMenu.add)
/* Context Menu */ /* Context Menu */
.on('contextmenu', '.photo', function(e) { contextMenu.photo(photo.getID(), e) }) .on('contextmenu', '.photo', function(e) { contextMenu.photo(photo.getID(), e) })