chore: fix plunkers for IE11 (#3095)
This commit is contained in:
parent
4253378e66
commit
5b30c684d3
|
@ -6,7 +6,7 @@ var NgIoUtil = (function () {
|
|||
|
||||
NgIoUtil.isDoc = function ($location, lang) {
|
||||
var loc = $location.absUrl();
|
||||
return loc.includes('/docs/' + lang + '/');
|
||||
return loc.indexOf('/docs/' + lang + '/') >= 0;
|
||||
};
|
||||
|
||||
// The following util functions are adapted from _utils-fn.jade.
|
||||
|
|
Loading…
Reference in New Issue