Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #3093 from rlr/pin-title-followup
Browse files Browse the repository at this point in the history
fix(systemaddon): remove title from pinned site pref value
  • Loading branch information
rlr committed Aug 4, 2017
2 parents 3b2f4a3 + 480110b commit 9a4a0db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system-addon/content-src/lib/link-menu-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = {
icon: "pin",
action: ac.SendToMain({
type: at.TOP_SITES_PIN,
data: {site: {url: site.url, title: site.hostname}, index}
data: {site: {url: site.url}, index}
}),
userEvent: "PIN"
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe("<LinkMenu>", () => {
menu_action_open_private_window: {url: FAKE_SITE.url, referrer: FAKE_SITE.referrer},
menu_action_dismiss: FAKE_SITE.url,
menu_action_delete: FAKE_SITE.url,
menu_action_pin: {site: {url: FAKE_SITE.url, title: FAKE_SITE.hostname}, index: FAKE_INDEX},
menu_action_pin: {site: {url: FAKE_SITE.url}, index: FAKE_INDEX},
menu_action_unpin: {site: {url: FAKE_SITE.url}},
menu_action_save_to_pocket: {site: {url: FAKE_SITE.url, title: FAKE_SITE.title}}
};
Expand Down

0 comments on commit 9a4a0db

Please sign in to comment.