diff --git a/includes/widget-option-initSelector.xml b/includes/widget-option-initSelector.xml index 0a6243cb..55f0625d 100644 --- a/includes/widget-option-initSelector.xml +++ b/includes/widget-option-initSelector.xml @@ -10,7 +10,7 @@ As of jQuery Mobile 1.4.0, the initSelector is no longer a widget option. Instead, it is declared directly on the widget prototype. Thus, you may specify a custom value by handling the mobileinit event and overwriting the initSelector on the prototype:


 $( document ).on( "mobileinit", function() {
-	$.mobile..prototype.initSelector = "div.custom";
+	$.mobile..initSelector = "div.custom";
 });