stop highlighting of elements, make queue reset on expac swap

This commit is contained in:
Xiexe
2020-10-03 00:57:49 -04:00
parent 8894f42180
commit 275a2f544a
3 changed files with 60 additions and 43 deletions
+9
View File
@@ -10,6 +10,15 @@ html, body {
src: url('../fonts/FRIZQUAD.TTF'); src: url('../fonts/FRIZQUAD.TTF');
} }
.noSelect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#background { #background {
background-color: #000; background-color: #000;
position: fixed; position: fixed;
+6
View File
@@ -106,6 +106,12 @@ function manualChangeExpac()
function switchExpansion() function switchExpansion()
{ {
if(disconnected)
{
disconnected = false;
hideQueue();
showDisconnect();
}
queuePos = null; queuePos = null;
getPositionInQueue(); getPositionInQueue();
+2
View File
@@ -7,6 +7,7 @@
<script src="assets/js/audiohandler.js" type="text/javascript"></script> <script src="assets/js/audiohandler.js" type="text/javascript"></script>
</head> </head>
<body onload="init();"> <body onload="init();">
<div class="noSelect">
<!-- LOGO --> <!-- LOGO -->
<button class="xPacButton" id="logo" onclick="manualChangeExpac(); playButtonAudio(1);"></button> <button class="xPacButton" id="logo" onclick="manualChangeExpac(); playButtonAudio(1);"></button>
@@ -57,5 +58,6 @@
<source src="assets/img/bg/Shadowlands.webm" type="video/webm"> <source src="assets/img/bg/Shadowlands.webm" type="video/webm">
</video> </video>
</div>
</body> </body>
</html> </html>