This commit is contained in:
Ray Lothian 2019-03-12 12:32:15 +01:00
parent 7cfa8fb4db
commit ab8117a201

View file

@ -104,7 +104,7 @@ var ua = {
}; };
const custom = 'Mapped from user\'s JSON object if found, otherwise uses "' + (str || navigator.userAgent) + '"'; const custom = 'Mapped from user\'s JSON object if found, otherwise uses "' + (str || navigator.userAgent) + '"';
const title = { const title = {
title: `UserAgent Switcher (${str ? 'enabled' : 'disabled'}) title: `UserAgent Switcher (${str ? 'enabled' : 'set to default'})
User-Agent String: ${prefs.mode === 'custom' ? custom : str || navigator.userAgent}` User-Agent String: ${prefs.mode === 'custom' ? custom : str || navigator.userAgent}`
}; };