xles / hyphenator

Automatically exported from code.google.com/p/hyphenator
GNU General Public License v3.0
0 stars 0 forks source link

jQuery document.ready() #160

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What happens exactly when Hyphenator is called inside jQuery document.ready() ?

Original issue reported on code.google.com by mathiasn...@gmail.com on 12 Jun 2012 at 7:08

GoogleCodeExporter commented 9 years ago
Works well!

The line
    if (document.readyState === "complete" || document.readyState === "interactive") {
does the trick.
cf issue158

Original comment by mathiasn...@gmail.com on 26 Sep 2012 at 9:01