diff --git a/package.json b/package.json index 05599868fb9..8f5585d4c81 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "sinon": "1.17.6", "systemjs-builder": "^0.15.34", "tether": "^1.4.0", - "tether-drop": "^1.4.2", + "tether-drop": "git://github.com/torkelo/drop", "tslint": "^4.0.2", "typescript": "^2.1.4", "virtual-scroll": "^1.1.1" diff --git a/public/app/features/dashboard/model.ts b/public/app/features/dashboard/model.ts index 6b8b2ed36d7..cff82d1ffb0 100644 --- a/public/app/features/dashboard/model.ts +++ b/public/app/features/dashboard/model.ts @@ -51,7 +51,7 @@ export class DashboardModel { this.style = data.style || "dark"; this.timezone = data.timezone || ''; this.editable = data.editable !== false; - this.graphTooltip = data.graphTooltip || false; + this.graphTooltip = data.graphTooltip || 0; this.hideControls = data.hideControls || false; this.time = data.time || { from: 'now-6h', to: 'now' }; this.timepicker = data.timepicker || {}; @@ -272,7 +272,7 @@ export class DashboardModel { } sharedTooltipModeEnabled() { - return this.graphTooltip !== 0; + return this.graphTooltip > 0; } sharedCrosshairModeOnly() { diff --git a/public/app/partials/inspector.html b/public/app/features/dashboard/partials/inspector.html similarity index 95% rename from public/app/partials/inspector.html rename to public/app/features/dashboard/partials/inspector.html index 228dfc7041e..37a1516c0b9 100644 --- a/public/app/partials/inspector.html +++ b/public/app/features/dashboard/partials/inspector.html @@ -1,7 +1,8 @@