Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yPhil
Pétrolette
Commits
1ad22933
Commit
1ad22933
authored
Mar 15, 2021
by
yPhil
Browse files
#bug: Input NAME mixup in sideMenu
parent
8b957b59
Pipeline
#397920
passed with stage
in 1 minute and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/js/PTL.main.js
View file @
1ad22933
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment