Docs: Suggestion for #4211 Version text disappears; $() := pageshow #4212

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -6,7 +6,7 @@ $(function(){
});
// display the version of jQM
-$(function() {
+$(document).bind( 'pageshow', function() {
var version = $.mobile.version || "dev",
words = version.split( "-" ),
ver = words[0],