Skip to content

Commit

Permalink
fix - Add to favorites not working in IE11 - polyfill needed nextclou…
Browse files Browse the repository at this point in the history
  • Loading branch information
yko-keepit committed Oct 27, 2018
1 parent 003f175 commit 67a26df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/js/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -2428,3 +2428,9 @@ jQuery.fn.tipsy = function(argument) {
}
return this;
};

/**
* Add to favorites not working in IE11 - polyfill needed #12007
* @link https://github.com/nextcloud/server/issues/12007
*/
if (!String.prototype.startsWith) { String.prototype.startsWith = function(searchString, position) { position = position || 0; return this.indexOf(searchString, position) === position; }; }

0 comments on commit 67a26df

Please sign in to comment.