Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a class option for transforms.

  • Loading branch information...
commit c6e50e2063fa8690760d5b6fa3de3eceac404633 1 parent 3511db8
@zachleat authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 js/widgets/panel.js
View
5 js/widgets/panel.js
@@ -25,7 +25,8 @@ $.widget( "mobile.panel", $.mobile.widget, {
contentWrapOpenComplete: "ui-panel-content-wrap-open-complete",
pageBlock: "ui-panel-page-block",
pagePanel: "ui-page-panel",
- pageChildAnimations: "ui-page-panel-animate"
+ pageChildAnimations: "ui-page-panel-animate",
+ cssTransform3d: "ui-panel-3dtransforms"
},
animate: true,
theme: null,
@@ -99,7 +100,7 @@ $.widget( "mobile.panel", $.mobile.widget, {
}
if( $.support.cssTransform3d ){
- panelClasses += " ui-panel-3dtransforms";
+ panelClasses += " " + this.options.classes.cssTransform3d;
}
return panelClasses;
},
Please sign in to comment.
Something went wrong with that request. Please try again.