Skip to content

Commit 0196a65

Browse files
committed
jqueryui.com: Fix loading of default effect demo
Fixes jquery/jqueryui.com#94 Closes jquerygh-350
1 parent 181ee6e commit 0196a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/jquery/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ $(function() {
357357
demo = parts[ 4 ].substring( 0, parts[ 4 ].length - 5 );
358358

359359
if ( demoList.is( "[data-full-nav]" ) ) {
360-
window.location = "/" + demo;
360+
window.location = "/" + (demo === "default" ? plugin : demo);
361361
return;
362362
}
363363

0 commit comments

Comments
 (0)