change browser object

This commit is contained in:
Luke Pulverenti 2015-11-28 15:48:35 -05:00
parent 27c3bdc042
commit 7b5f61d2d2
32 changed files with 106 additions and 106 deletions

View file

@ -6,7 +6,7 @@
var hasChanges = false;
// These images can be large and we're seeing memory problems in safari
var browsableImagePageSize = $.browser.safari ? 6 : 10;
var browsableImagePageSize = browserInfo.safari ? 6 : 10;
var browsableImageStartIndex = 0;
var browsableImageType = 'Primary';

View file

@ -52,10 +52,10 @@
function enableHashChange() {
// It's not firing popstate in response to hashbang changes
if ($.browser.msie) {
if (browserInfo.msie) {
return false;
}
if ($.browser.edge) {
if (browserInfo.edge) {
return false;
}
return true;
@ -92,7 +92,7 @@
// but not needed here since this is already on top of an existing dialog
// but skip it in IE because it's causing the entire browser to hang
// Also have to disable for firefox because it's causing select elements to not be clickable
if (!$.browser.msie && !$.browser.mozilla) {
if (!browserInfo.msie && !browserInfo.mozilla) {
if (options.modal !== false) {
dlg.setAttribute('modal', 'modal');
}

View file

@ -483,7 +483,7 @@
onProgramGridScroll(tabContent, this);
});
if ($.browser.mobile) {
if (browserInfo.mobile) {
tabContent.querySelector('.tvGuide').classList.add('mobileGuide');
} else {