Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
fieldcontain and link: Cannot use $.mobile namespace here because the…
Browse files Browse the repository at this point in the history
…se files do not depend on core
  • Loading branch information
Gabriel Schulhof committed Jan 4, 2013
1 parent 63b5ed9 commit 77f33ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/jquery.mobile.fieldContain.js
Expand Up @@ -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();
});

Expand Down
2 changes: 1 addition & 1 deletion js/jquery.mobile.links.js
Expand Up @@ -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 )
Expand Down

0 comments on commit 77f33ae

Please sign in to comment.