This repository was archived by the owner on Nov 3, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1212 "underscore" : " 1.4.4" ,
1313
1414 "normalize.css" : " ~3.0.3" ,
15- "js-spatial-navigation" : " git://github.com/ luke-chang/js-spatial-navigation.git "
15+ "js-spatial-navigation" : " luke-chang/js-spatial-navigation#v0.3 "
1616 },
1717 "ignore" : [
1818 " *.py" ,
Original file line number Diff line number Diff line change 139139 }
140140
141141 // chrome only
142- & :not (* :root ) {
142+ @supports ( - webkit - appearance : none ) {
143143 outline-color : $main-background-color ;
144144 }
145145}
Original file line number Diff line number Diff line change @@ -75,15 +75,17 @@ define('views/homepage',
7575 } ) ;
7676 } ) ;
7777
78- z . page . on ( 'sn:willfocus' , '.app-button' , function ( ) {
79- SpatialNavigation . pause ( ) ;
78+ z . page . on ( 'sn:willfocus' , '.app-button' , function ( e ) {
79+ if ( e . originalEvent . detail . previousElement ) {
80+ SpatialNavigation . pause ( ) ;
8081
81- scrollToApp . call ( this , function ( ) {
82- SpatialNavigation . focus ( this ) ;
83- SpatialNavigation . resume ( ) ;
84- } ) ;
82+ scrollToApp . call ( this , function ( ) {
83+ SpatialNavigation . focus ( this ) ;
84+ SpatialNavigation . resume ( ) ;
85+ } ) ;
8586
86- return false ;
87+ return false ;
88+ }
8789 } ) ;
8890
8991 z . page . on ( 'focus' , '.app-button' , function ( e ) {
You can’t perform that action at this time.
0 commit comments