From a97db099289eefe65d430695179345763f3b5e9d Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Mon, 7 Jul 2014 21:48:23 -0700 Subject: [PATCH] Shift+click workaround for Chrome on playlist --- www/js/util.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/js/util.js b/www/js/util.js index f7846a61..b1e42eaf 100644 --- a/www/js/util.js +++ b/www/js/util.js @@ -535,6 +535,9 @@ function addQueueButtons(li) { else if(menu.find(".btn").length != 0) { li.unbind("contextmenu"); li.contextmenu(function(ev) { + // Allow shift+click to open context menu + // (Chrome workaround, works by default on Firefox) + if (ev.shiftKey) return true; ev.preventDefault(); if(menu.css("display") == "none") menu.show("blind");