Fix IE11 search
This commit is contained in:
parent
55e1104dd9
commit
90588a9086
1 changed files with 7 additions and 0 deletions
|
@ -49,6 +49,13 @@
|
||||||
|
|
||||||
var themesWidth = null;
|
var themesWidth = null;
|
||||||
|
|
||||||
|
if (!String.prototype.startsWith) {
|
||||||
|
String.prototype.startsWith = function(searchString, position) {
|
||||||
|
position = position || 0;
|
||||||
|
return this.indexOf(searchString, position) === position;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
function hasClass(elem, className) {
|
function hasClass(elem, className) {
|
||||||
if (elem && className && elem.className) {
|
if (elem && className && elem.className) {
|
||||||
var elemClass = elem.className;
|
var elemClass = elem.className;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue