ソースを参照

refactor(): minor refactor

Torkel Ödegaard 9 年 前
コミット
c5955bacd2
1 ファイル変更3 行追加1 行削除
  1. 3 1
      public/app/core/components/grafana_app.ts

+ 3 - 1
public/app/core/components/grafana_app.ts

@@ -72,7 +72,9 @@ export function grafanaAppDirective(playlistSrv, contextSrv) {
     link: (scope, elem) => {
       var ignoreSideMenuHide;
       var body = $('body');
-      $.fn.modal.Constructor.prototype.enforceFocus = function() {}; // see https://github.com/zenorocha/clipboard.js/issues/155
+
+      // see https://github.com/zenorocha/clipboard.js/issues/155
+      $.fn.modal.Constructor.prototype.enforceFocus = function() {};
 
       // handle sidemenu open state
       scope.$watch('contextSrv.sidemenu', newVal => {