From 5622eb4bdc7b161fedf7669daf1e275a0f8255de Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 5 Oct 2017 22:50:56 +0200 Subject: [PATCH] Version 1.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Fix #1 • Fix English typo • Default items are email and facebook --- _locales/en/messages.json | 2 +- manifest.json | 2 +- scripts/bg.js | 2 +- scripts/share.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index b809551..dd0fac4 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1,6 +1,6 @@ { "extension_description": { - "message": "Simple share your current tab by email, to your social networks or your Shaarli!", + "message": "Simply share your current tab by email, to your social networks or your Shaarli!", "description": "Extension description." }, "browser_action_title": { diff --git a/manifest.json b/manifest.json index d8a74d8..d32e0b4 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "Simple Share", "short_name": "Share", - "version": "1.0.0", + "version": "1.1.0", "icons": { "16": "images/icon-16.png", diff --git a/scripts/bg.js b/scripts/bg.js index 8599ba2..c2905d0 100644 --- a/scripts/bg.js +++ b/scripts/bg.js @@ -1,4 +1,4 @@ -var items = { email:1, facebook:0, shaarli:0, twitter:1 }; +var items = { email:1, facebook:1, shaarli:0, twitter:0 }; items = !localStorage['settings.share.items'] ? items : JSON.parse(localStorage['settings.share.items']); var suggests = []; for (var item in items) { diff --git a/scripts/share.js b/scripts/share.js index 28a7e28..0fff2ed 100644 --- a/scripts/share.js +++ b/scripts/share.js @@ -1,4 +1,4 @@ -var items = { email:1, facebook:0, shaarli:0, twitter:1 }; +var items = { email:1, facebook:1, shaarli:0, twitter:0 }; items = !localStorage['settings.share.items'] ? items : JSON.parse(localStorage['settings.share.items']); var links = document.querySelectorAll('.i18n-share a'); @@ -15,7 +15,7 @@ for (var i=0, l=links.length; i