Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pager.js
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@
if (urlToggle !== 'none') {
// check if this page should trigger showChild at parent
var parent = m.parentPage;
if (parent.route && (parent.route[0] === m.getId() || (parent.route.length && m.getId() === '?') )) {
if (parent.route && parent.route.length && (parent.route[0].split('?')[0] === m.getId() || m.getId() === '?')) {
// call once the current event loop is finished.
setTimeout(function () {
parent.showPage(parent.route);
Expand Down