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
2308dd81
Commit
2308dd81
authored
Jul 15, 2021
by
yPhil
Browse files
Whoops
- Forgot to add helpBookmarklet JS code :/
parent
1b218a99
Pipeline
#433946
passed with stage
in 48 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
2308dd81
{
"name"
:
"petrolette"
,
"description"
:
"The news reader that doesn't know you"
,
"version"
:
"v1.4.
0
"
,
"version"
:
"v1.4.
1
"
,
"private"
:
true
,
"license"
:
"GPL-3.0-only"
,
"HTTP_PORT"
:
8000
,
...
...
public/js/PTL.main.js
View file @
2308dd81
...
...
@@ -25,7 +25,6 @@ var PTL = (function() {
};
PTL
.
util
.
say
(
PTL
.
tr
(
'
Pétrolette init
'
),
'
success
'
);
const
$sideMenu
=
$
(
'
nav#sideMenu
'
),
...
...
@@ -140,6 +139,9 @@ var PTL = (function() {
$
(
'
button
'
).
button
();
$
(
'
.helpBookmarklet
'
)
.
attr
(
'
href
'
,
'
javascript:void(window.open("
'
+
window
.
location
.
href
+
'
?add=" + window.location.href))
'
);
$
(
'
body
'
).
on
(
'
click
'
,
'
#menuButton
'
,
function
()
{
PTL
.
sideMenu
(
'
toggle
'
);
});
...
...
Write
Preview
Supports
Markdown
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