kopia lustrzana https://github.com/lartsch/FediAct
trim the homeinstance setting before processing
rodzic
6368b8691a
commit
07929d7654
|
@ -215,7 +215,7 @@ function checkSettings() {
|
||||||
function run() {
|
function run() {
|
||||||
// get the extension setting for the users' Mastadon home instance
|
// get the extension setting for the users' Mastadon home instance
|
||||||
chrome.storage.local.get(['fedifollow_homeinstance'], function(fetchedData) {
|
chrome.storage.local.get(['fedifollow_homeinstance'], function(fetchedData) {
|
||||||
instance = fetchedData.fedifollow_homeinstance;
|
instance = fetchedData.fedifollow_homeinstance.trim();
|
||||||
// and alert setting
|
// and alert setting
|
||||||
chrome.storage.local.get(['fedifollow_alert'], function(fetchedData) {
|
chrome.storage.local.get(['fedifollow_alert'], function(fetchedData) {
|
||||||
showAlert = fetchedData.fedifollow_alert;
|
showAlert = fetchedData.fedifollow_alert;
|
||||||
|
|
Ładowanie…
Reference in New Issue