Kim,
The file would be the MapManager in the jimu.js folder. The resetInfoWindow function is where you will stick the code (line 28):
resetInfoWindow: function(isNewMap) {
if(isNewMap){
this._mapInfoWindow = this.map.infoWindow;
if(this._mapMobileInfoWindow){
this._mapMobileInfoWindow.destroy();
}
this._mapMobileInfoWindow =
new PopupMobile(null, html.create("div", null, null, this.map.root));
this.isMobileInfoWindow = false;
}
if (window.appInfo.isRunInMobile && !this.isMobileInfoWindow) {
this.map.infoWindow.hide();
this.map.setInfoWindow(this._mapMobileInfoWindow);
this.isMobileInfoWindow = true;
this._mapMobileInfoWindow.on("show", lang.hitch(this, function(){
require(['dojo/query'], function(query) {
html.setStyle(query(".esriPopupMobile")[0], "display", "none");
html.setStyle(query(".esriMobileNavigationBar")[0], "display", "block");
html.setStyle(query(".esriMobileInfoView.esriMobilePopupInfoView")[0], "display", "block");
});
}));
} else if (!window.appInfo.isRunInMobile && this.isMobileInfoWindow) {
this.map.infoWindow.hide();
this.map.setInfoWindow(this._mapInfoWindow);
this.isMobileInfoWindow = false;
}
this.map.infoWindow.resize(400,300);
},