Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/RMerl/asuswrt-merlin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Sauvageau <rmerl@lostrealm.ca>2016-12-14 09:17:48 +0300
committerEric Sauvageau <rmerl@lostrealm.ca>2016-12-14 09:17:48 +0300
commite6a4d93edc47979eb6beda2aae6630f3345c6e33 (patch)
tree905c6403817e65de7cc3c77c4405ff9f3270e3e7
parentc31c619b0128d4865ff5e273401c9583eed0b6ce (diff)
parent2ebadbdc45bee39b495608b27fbb754d2c2a8af9 (diff)
Merge branch 'httpd4164'380.64-beta2
-rw-r--r--release/src/router/www/state.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/release/src/router/www/state.js b/release/src/router/www/state.js
index 355af4e882..76451948d8 100644
--- a/release/src/router/www/state.js
+++ b/release/src/router/www/state.js
@@ -817,10 +817,11 @@ function show_banner(L3){// L3 = The third Level of Menu
}
function show_app_table(evt){
+
var target = document.getElementById("app_link_table");
- var item = evt.target || evt.srcElement;
-
- if(item.id == "app_icon" || item.id == "cancel_app"){
+ var evt_target = evt.target || evt.srcElement; //evt.target for Firefox patched
+
+ if(evt_target.id == "app_icon" || evt_target.id == "cancel_app"){
if(target.style.display == "none"){
target.style.display = "";
}
@@ -828,13 +829,13 @@ function show_app_table(evt){
target.style.display = "none";
}
}
- else if(item.offsetParent == null){
+ else if(evt_target.offsetParent == null){
if(target.style.display == ""){
target.style.display = "none";
}
}
- else if((item.id != "null" && item.id == "app_link_table") || (item.offsetParent.id != "null" && item.offsetParent.id) == "app_link_table"){
+ else if((evt_target.id != "null" && evt_target.id == "app_link_table") || (evt_target.offsetParent.id != "null" && evt_target.offsetParent.id) == "app_link_table"){
return true;
}
else{