浏览代码

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 => {