diff --git a/web/javascript/common.js b/web/javascript/common.js index 0a9c6eb91..fb02fceb1 100644 --- a/web/javascript/common.js +++ b/web/javascript/common.js @@ -40,6 +40,13 @@ $(document).ready(function() { // Initialise the main Transmission controller transmission = new Transmission(); + // IE8 and below don’t support ES5 Date.now() + if (!Date.now) { + Date.now = function() { + return +new Date(); + }; + } + // IE specific fixes here if ($.browser.msie) { try {