mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06: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);
|
|
})();
|