diff --git a/src/scripts/build.coffee b/src/scripts/build.coffee index 39f3060..cb80906 100644 --- a/src/scripts/build.coffee +++ b/src/scripts/build.coffee @@ -233,41 +233,6 @@ build.uploadModal = (title, files) -> return html -build.contextMenu = (items) -> - - html = """ -
- - """ - - return html - build.tags = (tags, forView) -> html = '' diff --git a/src/scripts/init.js b/src/scripts/init.js index 66ca6ee..9ee5980 100755 --- a/src/scripts/init.js +++ b/src/scripts/init.js @@ -166,7 +166,6 @@ $(document).ready(function() { /* Context Menu */ .on('contextmenu', '.photo', function(e) { contextMenu.photo(photo.getID(), e) }) .on('contextmenu', '.album', function(e) { contextMenu.album(album.getID(), e) }) - .on('contextmenu', '.contextmenu_bg', contextMenu.close) .on(event_name, '.contextmenu_bg', contextMenu.close) /* Infobox */