Jquery mobile 1.4.3 data-enhance problem

by matthieubrunet

HTML

<script src="http://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.3/jquery.mobile.min.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.3/jquery.mobile.min.css">
<div data-role="page" id="home">
    <div data-role="header">
         <h1>JQM 1.4.3</h1>
    </div>
    <div data-role="content">
        <label for="yes">Yes</label>
        <input type="checkbox" name="yes" id="yes" data-enhance="false" />
    </div>
</div>

JavaScript

$( document ).on( "mobileinit", function() {
  $.mobile.ignoreContentEnabled = true;
});