mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-05-18 13:46:38 +02: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…
Reference in a new issue