summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2020-10-16 19:32:25 +0300
committerJustOff <Off.Just.Off@gmail.com>2020-10-16 19:32:25 +0300
commit260db0f257584107529cb2dfdceb614ac3d0c71f (patch)
tree7cac09fe8da57787ac2e5fbdb93211665006c4b1
parent959c12afade33630c386fcea0a0b8538fc839f3d (diff)
downloadgithub-wc-polyfill-260db0f257584107529cb2dfdceb614ac3d0c71f.tar.gz
Fix the typo
This resolves #3.
-rw-r--r--bootstrap.js2
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) {}