Browse files

Panel: Set default theme for panel to "c".

  • Loading branch information...
jaspermdegroot committed Feb 1, 2013
1 parent 58f0d6a commit 4458f3ba01dd13833f64e42e9de1a904b4e2443b
Showing with 2 additions and 2 deletions.
  1. +1 −1 docs/panels/options.html
  2. +1 −1 js/widgets/panel.js
@@ -53,7 +53,7 @@ <h2>Panels</h2>
<dt><code>swipeClose</code> default: true</dt>
<dd>Sets whether the panel can be closed by swiping over the panel or, if <code>dismissible=true</code>, the page content and toolbars. Also available via the <code>data-swipe-close</code> attribute on the panel.</dd>
- <dt><code>theme</code> default: null</dt>
+ <dt><code>theme</code> default: "c"</dt>
<dd>Theme swatch for the panel. Can be any valid swatch letter in your theme (a-z). Also available via the <code>data-theme</code> attribute on the panel container.</dd>
@@ -30,7 +30,7 @@ $.widget( "mobile.panel", $.mobile.widget, {
animate: "ui-panel-animate"
animate: true,
- theme: null,
+ theme: "c",
position: "left",
dismissible: true,
display: "reveal", //accepts reveal, push, overlay

0 comments on commit 4458f3b

Please sign in to comment.