File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,12 @@ let playerExtraDmg = 1;
5
5
let enemyExtraDmg = 1.1 ;
6
6
let moveNames = [ ]
7
7
let 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 ) {
11
14
console . log ( "^^ that is because feature checking" )
12
15
} ;
13
16
console . 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