diff --git a/public/app/plugins/datasource/prometheus/partials/query.editor.html b/public/app/plugins/datasource/prometheus/partials/query.editor.html
index fe3894a1ef0..75c432862ad 100644
--- a/public/app/plugins/datasource/prometheus/partials/query.editor.html
+++ b/public/app/plugins/datasource/prometheus/partials/query.editor.html
@@ -111,7 +111,7 @@
-
+
diff --git a/public/app/plugins/datasource/prometheus/query_ctrl.js b/public/app/plugins/datasource/prometheus/query_ctrl.js
index 8fc9ae0d6a3..bbbaff4aa56 100644
--- a/public/app/plugins/datasource/prometheus/query_ctrl.js
+++ b/public/app/plugins/datasource/prometheus/query_ctrl.js
@@ -14,7 +14,6 @@ function (angular, _) {
target.expr = target.expr || '';
target.intervalFactor = target.intervalFactor || 2;
- target.prometheusLink = $scope.linkToPrometheus();
$scope.metric = '';
$scope.resolutions = _.map([1,2,3,4,5,10], function(f) {
@@ -28,7 +27,6 @@ function (angular, _) {
};
$scope.refreshMetricData = function() {
- $scope.target.prometheusLink = $scope.linkToPrometheus();
if (!_.isEqual($scope.oldTarget, $scope.target)) {
$scope.oldTarget = angular.copy($scope.target);
$scope.get_data();