refactor(): minor refactor
This commit is contained in:
@@ -72,7 +72,9 @@ export function grafanaAppDirective(playlistSrv, contextSrv) {
|
|||||||
link: (scope, elem) => {
|
link: (scope, elem) => {
|
||||||
var ignoreSideMenuHide;
|
var ignoreSideMenuHide;
|
||||||
var body = $('body');
|
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
|
// handle sidemenu open state
|
||||||
scope.$watch('contextSrv.sidemenu', newVal => {
|
scope.$watch('contextSrv.sidemenu', newVal => {
|
||||||
|
|||||||
Reference in New Issue
Block a user