mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 03:55:41 -04:00
chore: set resync icon to continue animation until page refreshes
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
<head>
|
||||
<title><%= appName %> - v<%= appVersion %></title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title><%= appName %> - v<%= appVersion %></title>
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/css/bootstrap.min.css" integrity="sha384-SgOJa3DmI69IUzQ2PVdRZhwQ+dy64/BUtbMJw1MZ8t5HZApcHrRKUc4W0kG879m7" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="css/tvapp2.min.css">
|
||||
@@ -383,11 +383,14 @@
|
||||
dimmer.classList.remove('dimmer-in');
|
||||
dimmer.classList.add('dimmer-out');
|
||||
dimmer.remove();
|
||||
const iconResync = document.getElementsByClassName('fa-rotate');
|
||||
iconResync[0].classList.remove('spin');
|
||||
iconResync[0].classList.add('restart');
|
||||
|
||||
setTimeout(location.reload.bind(location), 5000);
|
||||
setTimeout(function()
|
||||
{
|
||||
const iconResync = document.getElementsByClassName('fa-rotate');
|
||||
iconResync[0].classList.remove('spin');
|
||||
iconResync[0].classList.add('restart');
|
||||
document.location.reload()
|
||||
}, 5000);
|
||||
}, 1000);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user