diff --git a/www/assets/js/data.js b/www/assets/js/data.js index 5ca7405c..aa03ae19 100644 --- a/www/assets/js/data.js +++ b/www/assets/js/data.js @@ -88,7 +88,8 @@ var USEROPTS = { sync_accuracy : getOrDefault("sync_accuracy", 2), chatbtn : getOrDefault("chatbtn", false), altsocket : getOrDefault("altsocket", false), - joinmessage : getOrDefault("joinmessage", true) + joinmessage : getOrDefault("joinmessage", true), + qbtn_always : getOrDefault("qbtn_always", false) }; var Rank = { diff --git a/www/assets/js/util.js b/www/assets/js/util.js index d8696408..1ff525a1 100644 --- a/www/assets/js/util.js +++ b/www/assets/js/util.js @@ -261,7 +261,8 @@ function addQueueButtons(li) { .appendTo(menu); } - menu.hide(); + if(!USEROPTS.qbtn_always) + menu.hide(); li.contextmenu(function(ev) { ev.preventDefault(); @@ -329,6 +330,12 @@ function showOptionsMenu() { addOption("", warn); $("
").appendTo(form); + var qbtncontainer = $("