Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 2492179

Browse files
committed
Версия 0.02
1 parent 635d67e commit 2492179

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

assets/DebugBar/js/initializer.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ Ggrach.Utils.Screen = {
5555

5656
Ggrach.Utils.User = {
5757
isAdmin: function () {
58-
return document.getElementById('panel') &&
59-
document.getElementById('bx-panel-admin-tab');
58+
return document.getElementById('bx-panel-admin-tab');
6059
}
6160
};
6261

initializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* https://github.com/ggrachdev/BitrixDebugger
55
6-
* @version 0.01
6+
* @version 0.02
77
*
88
* Пример дебага:
99
*

0 commit comments

Comments
 (0)