File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 $ ( function ( ) {
2323 const lastVisitedObject = JSON . parse ( localStorage . getItem ( "lastVisitedReminder" ) ) ;
2424 if ( lastVisitedObject ) {
25- const lastVisited = lastVisitedObject [ $ ( "li .menu-home > a " ) . attr ( "href" ) ] ;
25+ const lastVisited = lastVisitedObject [ $ ( "a .menu-home" ) . attr ( "href" ) ] ;
2626 if ( lastVisited ) {
2727 const alert = $ ( '#left-off-reminder' ) ;
2828 alert . removeClass ( "d-none" ) ;
Original file line number Diff line number Diff line change 9494 const title = $ ( "ol.breadcrumb > li" ) . last ( ) . text ( ) ;
9595
9696 // Get the instance url of this chapter
97- const instanceUrl = $ ( "li .menu-home > a " ) . attr ( "href" ) ;
97+ const instanceUrl = $ ( "a .menu-home" ) . attr ( "href" ) ;
9898
9999 // Get the lastVisited object or an empty object
100100 const lastVisited = JSON . parse ( localStorage . getItem ( "lastVisitedReminder" ) ) || { } ;
You can’t perform that action at this time.
0 commit comments