diff --git a/app/assets/javascripts/admin/plugins/codemirror.js b/app/assets/javascripts/admin/plugins/codemirror.js index bfb64ac9709e1e799946a5ef0a5d4e84ce78249b..553e9afd748b24c9bf3dee73f9bd49c39d0b5d11 100644 --- a/app/assets/javascripts/admin/plugins/codemirror.js +++ b/app/assets/javascripts/admin/plugins/codemirror.js @@ -22,8 +22,8 @@ window.codemirrorManager = { createInstance: function (textarea) { 'use strict'; - var mode = textarea.getAttribute("data-codemirror-mode"), - indentationLevel = window.parseInt(textarea.getAttribute("data-codemirror-indentation")); + var mode = textarea.getAttribute('data-codemirror-mode'), + indentationLevel = window.parseInt(textarea.getAttribute('data-codemirror-indentation')); if (isNaN(indentationLevel)) { indentationLevel = 2;