fixed menu and moved variables so they are setup first and then all the others will have access to them

This commit is contained in:
headwinds 2018-10-07 23:01:35 -04:00
parent c82e0a69f7
commit 3a4779e102
5 changed files with 129 additions and 174 deletions

View file

@ -3297,6 +3297,8 @@ function editBurg() {
// Toggle Options pane
$("#optionsTrigger").on("click", function() {
console.log("open menu")
if (tooltip.getAttribute("data-main") === "Сlick the arrow button to open options") {
tooltip.setAttribute("data-main", "");
tooltip.innerHTML = "";
@ -3311,7 +3313,9 @@ function editBurg() {
$("#options").fadeOut();
$("#optionsTrigger").removeClass("icon-left-open").addClass("icon-right-open");
}
});
$("#collapsible").hover(function() {
if ($("#optionsTrigger").hasClass("glow")) return;
if ($("#options").css("display") === "none") {