text splitted into chunks,
[redakcja.git] / redakcja / static / js / wiki / view_editor_wysiwyg.js
index 8fe8051..a3f4278 100644 (file)
                 // if we want to surround text with quotes
                 // not sure if just check if value has length == 2
                 
                 // if we want to surround text with quotes
                 // not sure if just check if value has length == 2
                 
-                if (insertVal.length) == 2) {
+                if (insertVal.length == 2) {
                     var startTag = insertVal[0];
                     var endTag = insertVal[1];
                                var textAreaOpened = editArea;                                                  
                     var startTag = insertVal[0];
                     var endTag = insertVal[1];
                                var textAreaOpened = editArea;