Skip to content

Commit

Permalink
Using latest tta module to fix Chrome issue
Browse files Browse the repository at this point in the history
  • Loading branch information
WebReflection committed Aug 23, 2019
1 parent 4a719cb commit d0096d4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ var hyperHTML = (function (document) {
var RAW = 'raw';

var isBroken = function isBroken(UA) {
return /(Firefox|Safari)\/(\d+)/.test(UA) && !/(Chrom|Android)\/(\d+)/.test(UA);
return /(Firefox|Safari)\/(\d+)/.test(UA) && !/(Chrom[eium]+|Android)\/(\d+)/.test(UA);
};

var broken = isBroken((document.defaultView.navigator || {}).userAgent);
Expand Down
Loading

0 comments on commit d0096d4

Please sign in to comment.