show/hide debug menu preferences
This commit is contained in:
parent
3b21d6b446
commit
0a96598e35
3 changed files with 11 additions and 0 deletions
|
|
@ -993,3 +993,9 @@ oml.validatePublicKey = function(value) {
|
|||
return /^[A-Za-z0-9+\/]{43}$/.test(value);
|
||||
};
|
||||
|
||||
oml.updateDebugMenu = function() {
|
||||
var menu = $('.OxTitle').filter(function(i, e) {
|
||||
return e.innerHTML == 'Debug'
|
||||
});
|
||||
oml.user.ui.showDebugMenu ? menu.show() : menu.hide();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue