b471c09f7749c2a04f8e3485f2797ca55944c9fb tdreszer Thu Jul 24 16:13:09 2014 -0700 Fixed many of the problems with IE version 11 going undetected. Redmine #13422. diff --git src/hg/js/alleles.js src/hg/js/alleles.js index e702025..0badd1b 100644 --- src/hg/js/alleles.js +++ src/hg/js/alleles.js @@ -385,31 +385,31 @@ propgateTitle(this); }); // Calculate some useful constants: seqCharsPerPos = 1; // Most cases var tripletButton = normed( $('input#'+sectionName+'_triplets') ); if (tripletButton && $(tripletButton).val().indexOf('Show') === -1) seqCharsPerPos = 3; seqPxPerPos = 7; var fullSeqHeader = normed( $(tbl).find('TH.seq') ); if (fullSeqHeader) { var seqLen = $(fullSeqHeader).text().length; //if (seqCharsPerPos === 3) // seqLen /= 2; seqPxPerPos = Math.round( $(fullSeqHeader).width() / (seqLen / seqCharsPerPos)); - if ($.browser.msie) + if (theClient.isIePre11()) seqPxPerPos = $(fullSeqHeader).width() / (seqLen / seqCharsPerPos); } // Highlight variants in full sequence setTimeout(alleles.delayedHilites, 200); // Delay till after page settles // Want to sort on previos column if there was a sort before ajax update persistThroughUpdates(); } }; }()); // end & invocation of function that makes alleles // The following js depends upon the jQuery library $(document).ready(function()