Skip to content
Browse files

Demos: replaced "docs" by "demos" in global nav utilities.

  • Loading branch information...
1 parent 88d5980 commit 09e6f13aaf76b34742d983df6ad9a8c5d4884cd8 @jaspermdegroot jaspermdegroot committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 demos/_assets/js/jqm-demos.js
View
8 demos/_assets/js/jqm-demos.js
@@ -77,7 +77,7 @@ $( document ).on( "pageinit", ".jqm-demos", function() {
// global search
$( this ).find( ".jqm-search ul.jqm-list" ).listview({
- globalNav: "docs",
+ globalNav: "demos",
inset: true,
theme: "d",
dividerTheme: "d",
@@ -120,7 +120,7 @@ $( document ).on( "pageinit", ".jqm-demos", function() {
});
$( this ).find( ".jqm-content ul.jqm-list " ).listview({
- globalNav: "docs",
+ globalNav: "demos",
inset: true,
theme: "d",
dividerTheme: "d",
@@ -228,8 +228,8 @@ $( document ).on( "mobileinit", function() {
form.attr( "method", "get" )
.attr( "action", this.options.submitTo );
- var base = $( "base" ).attr( "href" ).split( "docs" )[0];
- base = base.split( "index.html" )[0] + "docs" + "/";
+ var base = $( "base" ).attr( "href" ).split( "demos" )[0];
+ base = base.split( "index.html" )[0] + "demos" + "/";
url = base + this.options.submitTo + "?search=" + this.element.parent().find( "input" ).val();
$.mobile.changePage( url );

0 comments on commit 09e6f13

Please sign in to comment.
Something went wrong with that request. Please try again.