tiny changes

This commit is contained in:
sheepstar02 committed 2022-05-16 23:22:27 -04:00
1 parent ebdc01a7ee
commit 407d888fc5
3 files changed
+3 -4

No files matched your search

@@ -516,7 +516,7 @@ function getColorFromTheme(voteIsLike) {
function setEventListeners(evt) { function setEventListeners(evt) {
let jsInitChecktimer; let jsInitChecktimer;
function checkForJS_Finish(check) { function checkForJS_Finish() {
console.log(); console.log();
if (isShorts() || (getButtons()?.offsetParent && isVideoLoaded())) { if (isShorts() || (getButtons()?.offsetParent && isVideoLoaded())) {
const buttons = getButtons(); const buttons = getButtons();
+1 -1
View File
@@ -94,7 +94,7 @@
__MSG_legendSettings__ __MSG_legendSettings__
</legend> </legend>
<label class="switch" data-hover="__MSG_textSettingsHover__"> <label class="switch" data-hover="Stop counting your likes and dislikes">
<input type="checkbox" id="disable_vote_submission"/> <input type="checkbox" id="disable_vote_submission"/>
<span class="slider"/> <span class="slider"/>
<span class="switchLabel" title="__MSG_textSettings__" <span class="switchLabel" title="__MSG_textSettings__"
+1 -2
View File
@@ -99,14 +99,13 @@ advancedToggle.addEventListener("click", () => {
adv.style.pointerEvents = "none"; adv.style.pointerEvents = "none";
adv.style.opacity = "0"; adv.style.opacity = "0";
advancedToggle.innerHTML = config.showAdvancedMessage; advancedToggle.innerHTML = config.showAdvancedMessage;
config.advanced = false;
} else { } else {
adv.style.transform = "scale(1)"; adv.style.transform = "scale(1)";
adv.style.pointerEvents = "auto"; adv.style.pointerEvents = "auto";
adv.style.opacity = "1"; adv.style.opacity = "1";
advancedToggle.innerHTML = config.hideAdvancedMessage; advancedToggle.innerHTML = config.hideAdvancedMessage;
config.advanced = true;
} }
config.advanced = !config.advanced;
}); });
initConfig(); initConfig();