File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,12 @@ let playerExtraDmg = 1;
55let enemyExtraDmg = 1.1 ;
66let moveNames = [ ]
77let isntFirefox = typeof InstallTrigger === 'undefined' ;
8- if ( isntFirefox ) {
9- alert ( "Please use Firefox or else the buttons commit die." )
10- } else {
8+ let isntSafari = / c o n s t r u c t o r / i. test ( window . HTMLElement ) || ( function ( p ) { return p . toString ( ) === "[object SafariRemoteNotification]" ; } ) ( ! window [ 'safari' ] || ( typeof safari !== 'undefined' && window [ 'safari' ] . pushNotification ) ) ;
9+ isntSafari = ! isntSafari
10+
11+ if ( isntFirefox && isntSafari ) {
12+ alert ( "Please use Firefox/Safari or else the buttons commit die." )
13+ } else if ( ! isntFirefox ) {
1114 console . log ( "^^ that is because feature checking" )
1215} ;
1316console . log ( "yo hi snooper if somethings red tell me ok? also run playerHp = -2" )
You can’t perform that action at this time.
0 commit comments