summaryrefslogtreecommitdiff
path: root/src/lib/rrdFlot.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rrdFlot.js')
-rw-r--r--src/lib/rrdFlot.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/rrdFlot.js b/src/lib/rrdFlot.js
index 5743210..3f29566 100644
--- a/src/lib/rrdFlot.js
+++ b/src/lib/rrdFlot.js
@@ -452,7 +452,7 @@ rrdFlot.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
}
@@ -468,10 +468,6 @@ rrdFlot.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