Skip to content

Commit

Permalink
Fix Freedesktop shortcuts not using the page title for Name and Title
Browse files Browse the repository at this point in the history
  • Loading branch information
gyng committed Jan 28, 2018
1 parent 70229dc commit 762b0fc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.4.1

* Fix Freedesktop shortcuts not using the page title for Name and Title (#54)

# 2.4.0

* Major refactor to options management, downloading, and renaming. I've tried to keep behaviour identical to older versions so if there are any unexpected changes please file an issue. The extension has had insane feature creep and code spaghettification, so this taming was necessary to keep it maintainable.
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"version": "2.4.0",
"version": "2.4.1",
"default_locale": "en",

"applications": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "save-in",
"version": "2.3.1",
"version": "2.4.1",
"license": "MIT",
"scripts": {
"build": "env -u WEB_EXT_API_KEY -u WEB_EXT_API_SECRET web-ext build --overwrite-dest -i test docs yarn.lock",
Expand Down
2 changes: 1 addition & 1 deletion src/shortcut.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Shortcut = {

makeShortcut: (type, url) =>
Download.makeObjectUrl(
Shortcut.makeShortcutContent(type, url, currentTab.pageTitle)
Shortcut.makeShortcutContent(type, url, currentTab.title)
),

suggestShortcutFilename: (
Expand Down

0 comments on commit 762b0fc

Please sign in to comment.