Rashid Khan 12 лет назад
Родитель
Сommit
0a4bd071cb
3 измененных файлов с 2 добавлено и 3 удалено
  1. 1 1
      index.html
  2. 0 1
      js/controllers.js
  3. 1 1
      js/services.js

+ 1 - 1
index.html

@@ -28,7 +28,7 @@
 
   <body ng-controller="DashCtrl" ng-cloak>
 
-    <link rel="stylesheet" href="common/css/bootstrap.{{dashboard.current.style}}.min.css">
+    <link rel="stylesheet" ng-href="common/css/bootstrap.{{dashboard.current.style}}.min.css">
     <link rel="stylesheet" href="common/css/bootstrap-responsive.min.css">
     <link rel="stylesheet" href="common/css/font-awesome.min.css">
 

+ 0 - 1
js/controllers.js

@@ -14,7 +14,6 @@ angular.module('kibana.controllers', [])
     style: 'dark'
   };
 
-  // For
   $scope.editor = {
     index: 0
   };

+ 1 - 1
js/services.js

@@ -454,7 +454,7 @@ angular.module('kibana.services', [])
   var self = this;
   var filterSrv,querySrv;
 
-  this.current = {};
+  this.current = _.clone(_dash);
   this.last = {};
 
   $rootScope.$on('$routeChangeSuccess',function(){