IE11 still doesn’t support template literals
-
I know, i know, IE11 can die in a fire but i unfortunately I still have some customers who use it regularly.
The plugin uses “template literals” for the Popup that shows when something is blocked by the browser (Super Socializer => General Settings => “Message to show in popup notification”)
https://www.ads-software.com/support/topic/ie11-doesnt-support-template-literals/
This therefore disables every Javascript functionality after that error.
Please use either .replace() or something like this String.format extension:
// https://stackoverflow.com/questions/610406/javascript-equivalent-to-printf-string-format if (!String.prototype.format) { String.prototype.format = function() { var args = arguments; return this.replace(/{(\d+)}/g, function(match, number) { return typeof args[number] != 'undefined' ? args[number] : match ; }); }; }
Usage:
"{0}@{1}:{2}".format(remote_user, remote_server, remote_path)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘IE11 still doesn’t support template literals’ is closed to new replies.