Skip to content

Commit

Permalink
Fixes #2532096 - Force Chrome on Android to poll for dynamic CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Apr 2, 2012
1 parent 82816f9 commit 64098e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/get/js/get.js
Expand Up @@ -536,8 +536,9 @@ Y.Get = Get = {
// Firefox 9+, and WebKit 535.24+. Note that IE versions <9 fire the
// DOM 0 "onload" event, but not "load". All versions of IE fire
// "onload".
cssLoad: (!ua.gecko && !ua.webkit) ||
ua.gecko >= 9 || ua.webkit >= 535.24,
// davglass: Seems that Chrome on Android needs this to be false.
cssLoad: ((!ua.gecko && !ua.webkit) ||
ua.gecko >= 9 || ua.webkit >= 535.24) && !(ua.chrome && ua.mobile),

// True if this browser preserves script execution order while
// loading scripts in parallel as long as the script node's `async`
Expand Down Expand Up @@ -1061,6 +1062,7 @@ Transaction.prototype = {
self._progress(null, req);
}


// Deal with script asynchronicity.
if (isScript) {
node.setAttribute('src', req.url);
Expand Down

0 comments on commit 64098e1

Please sign in to comment.