mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-23 01:44:31 -06:00
Fix bug with hideIcons
This commit is contained in:
parent
b0193b4110
commit
42068c97f9
@ -1035,7 +1035,7 @@ SimpleMDE.prototype.createToolbar = function(items) {
|
||||
if(items[i].name == "guide" && self.options.toolbarGuideIcon === false)
|
||||
continue;
|
||||
|
||||
if(self.options.hideIcons.indexOf(items[i].name) != -1)
|
||||
if(self.options.hideIcons && self.options.hideIcons.indexOf(items[i].name) != -1)
|
||||
continue;
|
||||
|
||||
(function(item) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user