Commit 2308dd81 authored by yPhil's avatar yPhil
Browse files

Whoops

- Forgot to add helpBookmarklet JS code :/
parent 1b218a99
Pipeline #433946 passed with stage
in 48 seconds
{
"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,
......
......@@ -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');
});
......
Supports Markdown
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