Skip to content

Commit

Permalink
JRS-6096 require-css plugin workaround for lenovo a398t+ user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
psavushchyk committed Jul 6, 2015
1 parent e6a3ab5 commit 189a7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ define(function() {

var head = document.getElementsByTagName('head')[0];

var engine = window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit\/([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)|AndroidWebKit\/([^ ;]*)/) || 0;
var engine = window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit[\/|5]([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)|AndroidWebKit\/([^ ;]*)/) || 0;

// use <style> @import load method (IE < 9, Firefox < 18)
var useImportLoad = false;
Expand Down

0 comments on commit 189a7a4

Please sign in to comment.