Skip to content
Browse files

== fix, #42

  • Loading branch information...
1 parent 91034f0 commit 42e989ac7327d5c3d9a848b69ddfb42be5d99172 @scrapmac committed Apr 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 content/editor.js
View
2 content/editor.js
@@ -1915,7 +1915,7 @@ StyleEditor.prototype = {
if (text.search(/[@]namespace[ ]+url\([^\)]{1,}\)/) == -1 && this.namespace == null) {
// checking if moz-url is there or not
let mozDocURL = text.match(/[@]-moz-document[ ]+(url[\-prefix]{0,7}|domain|regexp)[ ]{0,}\(['"]?([^'"\)]+)['"]?\)[ ]/);
- if (mozDocURL != null && mozDocURL[2].search("chrome://") = -1 && mozDocURL[2].search("about:") == -1) {
+ if (mozDocURL != null && mozDocURL[2].search("chrome://") == -1 && mozDocURL[2].search("about:") == -1) {
text = "@namespace url(http://www.w3.org/1999/xhtml);\n" + text;
origCaretPos += 46;
}

0 comments on commit 42e989a

Please sign in to comment.
Something went wrong with that request. Please try again.