diff options
author | JustOff <Off.Just.Off@gmail.com> | 2020-10-16 19:32:25 +0300 |
---|---|---|
committer | JustOff <Off.Just.Off@gmail.com> | 2020-10-16 19:32:25 +0300 |
commit | 260db0f257584107529cb2dfdceb614ac3d0c71f (patch) | |
tree | 7cac09fe8da57787ac2e5fbdb93211665006c4b1 | |
parent | 959c12afade33630c386fcea0a0b8538fc839f3d (diff) | |
download | github-wc-polyfill-260db0f257584107529cb2dfdceb614ac3d0c71f.tar.gz |
Fix the typo
This resolves #3.
-rw-r--r-- | bootstrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.js b/bootstrap.js index 46f9a5d..7150676 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -16,7 +16,7 @@ var httpResponseObserver = { (subject.responseStatus == 200 || subject.responseStatus == 304)) { try { let ctype = subject.getResponseHeader("Content-Type").toLowerCase(); - if (ctype.indexOf("text/html") == -1 && ctype.indexOf("text/javascrip") == -1) { + if (ctype.indexOf("text/html") == -1 && ctype.indexOf("text/javascript") == -1) { return; } } catch (e) {} |