src/sap.ui.demokit/src/sap/ui/demokit/explored/util/MyRouter.js
function (sRoute, oData) {
			var oHistory = History.getInstance();
			var oPrevHash = oHistory.getPreviousHash();
			if (oPrevHash !== undefined) {
				window.history.go(-1);
			} else {
				var bReplace = true; // otherwise we go backwards with a forward history
				this.navTo(sRoute, oData, bReplace);
			}
		}
function (sRoute, oData) {
			var oHistory = History.getInstance();
			var oPrevHash = oHistory.getPreviousHash();
			if (oPrevHash !== undefined) {
				window.history.go(-1);
			} else {
				var bReplace = true; // otherwise we go backwards with a forward history
				this.navTo(sRoute, oData, bReplace);
			}
		}
function ( sRoute , oData ) { var oHistory = History . getInstance ( ) ; var oPrevHash = oHistory . getPreviousHash ( ) ; if ( oPrevHash !== undefined ) { window . history . go ( - 1 ) ; } else { var bReplace = true ; // otherwise we go backwards with a forward history this . navTo ( sRoute , oData , bReplace ) ; } }
mobile nav back handling
mobile nav back handling