mirror of https://github.com/calzoneman/sync.git
Shift+click workaround for Chrome on playlist
This commit is contained in:
parent
d3b4ac1468
commit
a97db09928
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue