Fixed experimental tab apply checkbox not working properly.

This commit is contained in:
Quentin Decaunes 2019-03-23 17:18:14 +01:00
parent 02610a94fd
commit 0ad8107e4a

View File

@ -217,7 +217,7 @@ function loadLatestUsedSettings() {
function registerEventListenerForSettingsInput() {
const settings = require('electron-settings');
var checkbox_toggle_options = document.querySelectorAll('#controller-tab input[id^=apply_]');
var checkbox_toggle_options = document.querySelectorAll('#controller-tab input[id^=apply_], #experimental-tab input[id^=apply_]');
const hideOptionBasedOnInput = function (input) {
if (input.checked) {
input.parentElement.parentElement.nextElementSibling.removeAttribute('hidden');