Browse Source

refactor(): minor refactor

Torkel Ödegaard 9 years ago
parent
commit
c5955bacd2
1 changed files with 3 additions and 1 deletions
  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 => {