mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2026-01-24 04:34:19 +01:00
Improved indicator
This commit is contained in:
@@ -86,7 +86,13 @@ app.compose(function() {
|
||||
},
|
||||
update: function (cfg) {
|
||||
var emIndicator = this.viewElement.querySelector('#emphasizeBytes');
|
||||
emIndicator.style.display = cfg.emphasizeBytes ? '' : 'none';
|
||||
var reg = /\son/g;
|
||||
|
||||
if(cfg.emphasizeBytes) {
|
||||
emIndicator.classList.add("on");
|
||||
} else {
|
||||
emIndicator.classList.remove("on");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user