mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-21 08:54:28 -06:00
Fix fullscreen icon not remaining active
This commit is contained in:
parent
67b1ac7ca8
commit
d8ad2959a8
@ -664,7 +664,7 @@ SimpleMDE.prototype.createToolbar = function(items) {
|
||||
var el = toolbar_data[key];
|
||||
if (stat[key]) {
|
||||
el.className += ' active';
|
||||
} else {
|
||||
} else if(key != "fullscreen") {
|
||||
el.className = el.className.replace(/\s*active\s*/g, '');
|
||||
}
|
||||
})(key);
|
||||
|
Loading…
x
Reference in New Issue
Block a user