mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
refactor(): minor refactor
This commit is contained in:
parent
09cec8535e
commit
c5955bacd2
@ -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 => {
|
||||||
|
Loading…
Reference in New Issue
Block a user