Skip to content

Commit 8addd6f

Browse files
committed
check for salesforce in domain
1 parent 2b4a06a commit 8addd6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chrome/app/js/shortcuts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function openApp(){
5050
command: "focusAppTab"
5151
}).then((appOpened) => {
5252
if(!appOpened){
53-
if(document.location.hostname.includes(".salesforce.com")) {
53+
if(document.location.hostname.includes(".salesforce")) {
5454
browser.runtime.sendMessage({
5555
url: `${browser.extension.getURL('html/app.html')}?oid=${sessionVars.oid}&uid=${sessionVars.uid}&sid=${encodeURIComponent(sid)}&host=${encodeURIComponent(location.hostname)}`,
5656
name: `app_${sessionVars.oid}`,

0 commit comments

Comments
 (0)