discourse/app/assets/javascripts/auto-redirect.js.no-module.es6

7 lines
166 B
JavaScript

(function() {
const path = document.getElementById("data-auto-redirect").dataset.path;
setTimeout(function() {
window.location.href = path;
}, 2000);
})();