vendor/assets/javascripts/mercury/regions/markupable.js.coffee in mercury-rails-0.2.0 vs vendor/assets/javascripts/mercury/regions/markupable.js.coffee in mercury-rails-0.2.3

- old
+ new

@@ -19,10 +19,10 @@ value = @element.html().replace(/^\s+|\s+$/g, '').replace('&gt;', '>') @textarea = jQuery('<textarea>', @document).val(value) @textarea.attr('class', @element.attr('class')).addClass('mercury-textarea') @textarea.css({border: 0, background: 'transparent', display: 'block', width: width, height: height, fontFamily: '"Courier New", Courier, monospace', fontSize: '14px'}) @element.empty().append(@textarea) - @element.removeClass('mercury-region') + @element.removeClass(Mercury.config.regionClass) @previewElement = jQuery('<div>', @document) @element.append(@previewElement) @element = @textarea @resize()