File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,14 +65,14 @@ function ProcessAdminTabs()
6565 const pos = url . indexOf ( '^' ) + 1 ;
6666 const tabNo = url . charAt ( pos ) ;
6767
68- if ( Number . isInteger ( tabNo ) )
68+ if ( ! isNaN ( utabNo ) )
6969 swapTab ( tabNo ) ;
7070
7171 const upos = url . indexOf ( '~' ) + 1 ;
7272 const utabNo = url . charAt ( upos + 1 ) ;
7373 const utabType = url . charAt ( upos ) ;
7474
75- if ( Number . isInteger ( utabNo ) )
75+ if ( ! isNaN ( utabNo ) )
7676 Swap2ndPane ( utabNo , utabType ) ;
7777}
7878
@@ -1472,6 +1472,6 @@ function openTab(event, target) {
14721472
14731473function swapTab ( tab ) {
14741474 const menu = document . getElementById ( 'admin-page-menu' ) . children ;
1475- if ( Number . isInteger ( tab ) && tab <= menu . length )
1475+ if ( ! isNaN ( tab ) && tab <= menu . length )
14761476 menu [ tab ] . click ( ) ;
14771477}
You can’t perform that action at this time.
0 commit comments