summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/local/www/javascript/index/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/javascript/index/ajax.js b/usr/local/www/javascript/index/ajax.js
index 73bd208..2fc6ab6 100644
--- a/usr/local/www/javascript/index/ajax.js
+++ b/usr/local/www/javascript/index/ajax.js
@@ -173,7 +173,7 @@ function updateInterfaces(x){
function widgetActive(x) {
var widget = jQuery('#' + x + '-container');
- if ((widget != null) && (widget.css('display') != "none"))
+ if ((widget != null) && (widget.css('display') != null) && (widget.css('display') != "none"))
return true;
else
return false;
OpenPOWER on IntegriCloud