File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -523,6 +523,9 @@ var guiders = (function($) {
523523 return guiders . next ( ) ;
524524 }
525525 else {
526+ // Trigger before show to allow observers to change the
527+ // DOM before the new guider calculates its position
528+ $ ( "body" ) . trigger ( "guidersNext" ) ;
526529 guiders . show ( nextGuiderId ) ;
527530 return guiders . getCurrentGuider ( ) ;
528531 }
@@ -552,6 +555,11 @@ var guiders = (function($) {
552555 if ( prevGuider && prevGuider . highlight ) {
553556 guiders . _dehighlightElement ( prevGuider . highlight ) ;
554557 }
558+
559+ // Trigger before show to allow observers to change the
560+ // DOM before the new guider calculates its position
561+ $ ( "body" ) . trigger ( "guidersPrev" ) ;
562+
555563 guiders . show ( prevGuiderId ) ;
556564 return myGuider ;
557565 }
You can’t perform that action at this time.
0 commit comments