mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
a6eca28ec6
* wizard page inline js * print topic inline js * drop JS for preventing double submission this is the default behavior with Rails' UJS `disable_with` helper * omniauth complete redirect JS * account activate inline js
7 lines
166 B
JavaScript
7 lines
166 B
JavaScript
(function() {
|
|
const path = document.getElementById("data-auto-redirect").dataset.path;
|
|
setTimeout(function() {
|
|
window.location.href = path;
|
|
}, 2000);
|
|
})();
|