File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -89,17 +89,19 @@ export default class Dialog extends AnimatedElement {
8989 else if ( this . bell . state === Bell . STATES . BLOCKED ) {
9090 let imageUrl = null ;
9191 if ( bowser . chrome ) {
92- if ( ! bowser . mobile && ! bowser . tablet ) {
93- imageUrl = SdkEnvironment . getOneSignalApiUrl ( ) . origin + '/bell/chrome-unblock.jpg' ;
94- }
92+ if ( ! bowser . mobile && ! bowser . tablet )
93+ imageUrl = '/bell/chrome-unblock.jpg' ;
9594 }
9695 else if ( bowser . firefox )
97- imageUrl = SdkEnvironment . getOneSignalApiUrl ( ) . origin + '/bell/firefox-unblock.jpg' ;
96+ imageUrl = '/bell/firefox-unblock.jpg' ;
9897 else if ( bowser . safari )
99- imageUrl = SdkEnvironment . getOneSignalApiUrl ( ) . origin + '/bell/safari-unblock.jpg' ;
98+ imageUrl = '/bell/safari-unblock.jpg' ;
99+ else if ( bowser . msedge )
100+ imageUrl = '/bell/edge-unblock.png' ;
100101
101102 let instructionsHtml = '' ;
102103 if ( imageUrl ) {
104+ imageUrl = SdkEnvironment . getOneSignalApiUrl ( ) . origin + imageUrl ;
103105 instructionsHtml = `<a href="${ imageUrl } " target="_blank"><img src="${ imageUrl } "></a></div>` ;
104106 }
105107
You can’t perform that action at this time.
0 commit comments