Commit a1f3f23d authored by Robert Lyon's avatar Robert Lyon Committed by Aaron Wells
Browse files

Bug 1542153: Removing the old deprecated $.browser check



It was needed for old IE version but we don't support them anymore

behatnotneeded - existing test should be fine

Change-Id: I712c0fd71879d8b4e4d66970a9bb5abe0f805ee8
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 17638166
......@@ -8,3 +8,5 @@ Changes:
* Added a pager hook for reskining
* Changed name and path of images in theme/raw/style/jquery.rating.css
* Remove the $.browser check for IE8 & older (because jQuery no longer ships it by default, and
we no longer support IE8.)
\ No newline at end of file
......@@ -13,10 +13,7 @@
;if(window.jQuery) (function($){
/*# AVOID COLLISIONS #*/
// IE6 Background Image Fix
if ($.browser.msie) try { document.execCommand("BackgroundImageCache", false, true)} catch(e) { };
// Thanks to http://www.visualjquery.com/rating/rating_redux.html
// plugin initialization
$.fn.rating = function(options){
if(this.length==0) return this; // quick fail
......
......@@ -25,8 +25,6 @@
navBuffer = 660;
// Public Properties
// Whether the browser is IE - needed for some hacks
ViewManager.isOldIE = $.browser.msie && $.browser.version < 9.0;
ViewManager.contentEditorWidth = 145;
//Public Methods
......
......@@ -200,7 +200,6 @@ function smarty($javascript = array(), $headers = array(), $pagestrings = array(
// Make jQuery accessible with $j (Mochikit has $)
$javascript_array[] = $jsroot . 'jquery/jquery.js';
$javascript_array[] = $jsroot . 'jquery/deprecated_jquery.js';
$headers[] = '<script type="application/javascript">$j=jQuery;</script>';
// If necessary, load MathJax configuration
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment