summaryrefslogtreecommitdiff
path: root/src/lib/rrdFlotMatrix.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rrdFlotMatrix.js')
-rw-r--r--src/lib/rrdFlotMatrix.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/rrdFlotMatrix.js b/src/lib/rrdFlotMatrix.js
index 5711394..cbbf93c 100644
--- a/src/lib/rrdFlotMatrix.js
+++ b/src/lib/rrdFlotMatrix.js
@@ -389,7 +389,7 @@ rrdFlotMatrix.prototype.bindFlotGraph = function(flot_obj) {
grid: { hoverable: true },
};
- if (this.graph_options!="None") {
+ if (this.graph_options!=null) {
if (typeof(this.graph_options.tooltip)=='boolean'&&this.graph_options.tooltip==true) {
//nothing
}
@@ -405,10 +405,6 @@ rrdFlotMatrix.prototype.bindFlotGraph = function(flot_obj) {
graph_options.tooltip=false;
}
}
- else {
- graph_options.grid.hoverable=false;
- graph_options.tooltip=false;
- }
if (legend_id=="None") {
// do nothing