Skip to content

Commit 07e589e

Browse files
authored
IE11 fails on whitespace typo in responseText
There was a typo in "request.responseText" that was causing an error in IE11. Seemed to work in chrome for me though. Got to love JS =)
1 parent d91c357 commit 07e589e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-var-polyfill.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ let cssVarPoly = {
4949
// console.log("link");
5050
cssVarPoly.getLink(block.getAttribute('href'), counter, function(counter, request) {
5151
cssVarPoly.findSetters(request.responseText, counter);
52-
cssVarPoly.oldCSS[counter] = request.r esponseText;
52+
cssVarPoly.oldCSS[counter] = request.responseText;
5353
cssVarPoly.updateCSS();
5454
});
5555
theCSS = '';

0 commit comments

Comments
 (0)