Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fieldcontain and link: Cannot use $.mobile namespace here because the…

…se files do not depend on core
  • Loading branch information...
commit 77f33aeb4f12b7aa105b51d1a3414a393a841252 1 parent 63b5ed9
@gabrielschulhof gabrielschulhof authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  js/jquery.mobile.fieldContain.js
  2. +1 −1  js/jquery.mobile.links.js
View
2  js/jquery.mobile.fieldContain.js
@@ -19,7 +19,7 @@ $.fn.fieldcontain = function( options ) {
};
//auto self-init widgets
-$.mobile.document.bind( "pagecreate create", function( e ) {
+$( document ).bind( "pagecreate create", function( e ) {
$( ":jqmData(role='fieldcontain')", e.target ).jqmEnhanceable().fieldcontain();
});
View
2  js/jquery.mobile.links.js
@@ -8,7 +8,7 @@ define( [ "jquery" ], function( $ ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, undefined ) {
-$.mobile.document.bind( "pagecreate create", function( e ) {
+$( document ).bind( "pagecreate create", function( e ) {
//links within content areas, tests included with page
$( e.target )
Please sign in to comment.
Something went wrong with that request. Please try again.