Unsupported String.prototype.startsWith in lib/utilities.js.es6 could break compatibility

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/lib/utilities.js.es6#L229

This is not supported until Safari 9 but Discourse should support Safari 6.1+.

Catch this because link plugin is also affected.

1 Like

Thanks. Here’s the fix :cherries:

https://github.com/discourse/discourse/commit/a21d52951ae949ffda12848491023e4b0209837b

3 Likes