Commit 1ad22933 authored by yPhil's avatar yPhil
Browse files

#bug: Input NAME mixup in sideMenu

parent 8b957b59
Pipeline #397920 passed with stage
in 1 minute and 58 seconds
......@@ -244,7 +244,7 @@ var PTL = (function() {
$brokenImagesBox.append($showLabel, $showInput, $hideLabel, $hideInput);
$sideMenu.find('.brokenImagesSwitcher').checkboxradio({icon: true});
$sideMenu.find('.brokenImagesSwitcher').checkboxradio();
$sideMenu.find("input#" + PTL.prefs.readConfig('brokenImages')).attr("checked", true);
......@@ -264,7 +264,7 @@ var PTL = (function() {
.attr('id', 'none')
.attr('class', 'mediaPreloadSwitcher')
.attr('type', 'radio')
.attr('name', 'radio-2')
.attr('name', 'radio-3')
.attr('value', 'none'),
$mediaPreloadMetaLabel = $('<label>')
.attr('class', 'translate grow')
......@@ -275,7 +275,7 @@ var PTL = (function() {
.attr('id', 'metadata')
.attr('class', 'mediaPreloadSwitcher')
.attr('type', 'radio')
.attr('name', 'radio-2')
.attr('name', 'radio-3')
.attr('value', 'metadata'),
$mediaPreloadAutoLabel = $('<label>')
.attr('class', 'translate grow')
......@@ -286,7 +286,7 @@ var PTL = (function() {
.attr('id', 'auto')
.attr('class', 'mediaPreloadSwitcher')
.attr('type', 'radio')
.attr('name', 'radio-2')
.attr('name', 'radio-3')
.attr('value', 'auto');
$mediaPreloadBox.append($mediaPreloadNoneLabel,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment