2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-07-23 09:54:28 -06:00

Fix bug with hideIcons

This commit is contained in:
Wes Cossick 2015-09-25 15:33:35 -05:00
parent b0193b4110
commit 42068c97f9

View File

@ -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) {