Plugin Directory

Changeset 1086671


Ignore:
Timestamp:
02/10/2015 08:28:27 PM (11 years ago)
Author:
ramsaylanier
Message:

fixed spellcheck bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • verbatim/trunk/js/verbatim.js

    r1085838 r1086671  
    5252
    5353                while (window.find(sanitizedHash)) {
     54
     55                    document.body.spellcheck = false;
    5456
    5557                    if (isFirefox){
     
    150152                if(!sel.isCollapsed){
    151153
     154                    document.body.spellcheck = false;
     155
    152156                    if (isFirefox){
    153157                        document.body.contentEditable = "true";
     
    155159                        document.execCommand("HiliteColor", false, settings.highlightColor);
    156160                        var anchorNode = sel.focusNode.parentNode;
    157                         var extentNode = sel.extentNode.parentNode;
    158161                        appendButton();
    159162
     
    164167                        document.execCommand("hiliteColor", false, settings.highlightColor);
    165168                        var anchorNode = sel.anchorNode.parentNode;
    166                         var extentNode = sel.extentNode.parentNode;
    167169                        appendButton();
    168170
Note: See TracChangeset for help on using the changeset viewer.