mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-06-20 06:35:09 +02: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…
Reference in a new issue