FIX: Spinner on .external

This commit is contained in:
Tony Air 2020-04-18 11:47:43 +07:00
parent c9ec329d03
commit f49dec4ed7

View File

@ -456,7 +456,7 @@ const MainUI = (($) => {
}); });
// hide spinner on target _blank // hide spinner on target _blank
$('[target="_blank"]').on('click submit', () => { $('[target="_blank"],.external').on('click submit', () => {
setTimeout(() => { setTimeout(() => {
Spinner.hide(() => { Spinner.hide(() => {
$Body.addClass('loaded'); $Body.addClass('loaded');