app/assets/javascripts/textile-editor.js.coffee in redcloth-rails-0.1.1 vs app/assets/javascripts/textile-editor.js.coffee in redcloth-rails-0.2.0
- old
+ new
@@ -80,10 +80,10 @@
standardButtons = new Array()
i = 0
while i < edButtons.length
thisButton = @prepareButton(edButtons[i])
- if view is "s"
+ if view is "simple"
if edButtons[i].sve is "s"
toolbar.appendChild thisButton
standardButtons.push thisButton
else
if typeof thisButton is "string"
\ No newline at end of file