WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22053, comment 3


Ignore:
Timestamp:
10/01/12 20:41:01 (19 months ago)
Author:
dannydehaan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22053, comment 3

    initial v1  
    1 This is because getElementsByClassName is only available in HTML5. IE8 only partially supports HTML5, getElementsByClassName is not supported as you can see here. I've made a patch for this. When getElementsByClassName is available, the script will use that, otherwise it will use the fallback document.querySelectorAll('.wp-editor-wrap'); 
     1This is because getElementsByClassName is only available in HTML5. IE8 only partially supports HTML5, getElementsByClassName is not supported as you can see here: http://caniuse.com/#search=getelementsbyclassname. I've made a patch for this. When getElementsByClassName is available, the script will use that, otherwise it will use the fallback document.querySelectorAll('.wp-editor-wrap');