Shift+click workaround for Chrome on playlist

This commit is contained in:
Calvin Montgomery 2014-07-07 21:48:23 -07:00
parent d3b4ac1468
commit a97db09928
1 changed files with 3 additions and 0 deletions

View File

@ -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");