summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/addon/runmode/runmode.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/codemirror/addon/runmode/runmode.js')
-rw-r--r--[-rwxr-xr-x]public/vendor/codemirror/addon/runmode/runmode.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/codemirror/addon/runmode/runmode.js b/public/vendor/codemirror/addon/runmode/runmode.js
index 07d2279f..a51c6d0d 100755..100644
--- a/public/vendor/codemirror/addon/runmode/runmode.js
+++ b/public/vendor/codemirror/addon/runmode/runmode.js
@@ -16,7 +16,7 @@ CodeMirror.runMode = function(string, modespec, callback, options) {
var ie = /MSIE \d/.test(navigator.userAgent);
var ie_lt9 = ie && (document.documentMode == null || document.documentMode < 9);
- if (callback.nodeType == 1) {
+ if (callback.appendChild) {
var tabSize = (options && options.tabSize) || CodeMirror.defaults.tabSize;
var node = callback, col = 0;
node.innerHTML = "";