diff options
author | friendica <info@friendica.com> | 2013-05-09 18:24:52 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-09 18:24:52 -0700 |
commit | 7dfea2c70dd79986f54a6b4e12d25be47a6abc88 (patch) | |
tree | 9cc16531935085cc578eb9fd17c11747bab892e5 | |
parent | 112dbf3abd543152ad4ed3f444331ac88c1f4c46 (diff) | |
download | volse-hubzilla-7dfea2c70dd79986f54a6b4e12d25be47a6abc88.tar.gz volse-hubzilla-7dfea2c70dd79986f54a6b4e12d25be47a6abc88.tar.bz2 volse-hubzilla-7dfea2c70dd79986f54a6b4e12d25be47a6abc88.zip |
get rid of jquery.browser warnings by removing msie hacks in two places, live update and fancybox
-rw-r--r-- | js/main.js | 2 | ||||
-rw-r--r-- | library/fancybox/jquery.fancybox-1.3.4.js | 5 | ||||
-rw-r--r-- | view/php/theme_init.php | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/js/main.js b/js/main.js index 0fbc4b517..df161e386 100644 --- a/js/main.js +++ b/js/main.js @@ -122,7 +122,7 @@ $(function() { $.ajaxSetup({cache: false}); - msie = $.browser.msie ; + msie = false; // $.browser.msie ; /* setup tooltips *//* $("a,.tt").each(function(){ diff --git a/library/fancybox/jquery.fancybox-1.3.4.js b/library/fancybox/jquery.fancybox-1.3.4.js index be7727537..43e2cd56b 100644 --- a/library/fancybox/jquery.fancybox-1.3.4.js +++ b/library/fancybox/jquery.fancybox-1.3.4.js @@ -26,7 +26,8 @@ titleHeight = 0, titleStr = '', start_pos, final_pos, busy = false, fx = $.extend($('<div/>')[0], { prop: 0 }),
- isIE6 = $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest,
+ isIE6 = false,
+// $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest,
/*
* Private methods
@@ -612,7 +613,7 @@ }
if (currentOpts.type == 'iframe') {
- $('<iframe id="fancybox-frame" name="fancybox-frame' + new Date().getTime() + '" frameborder="0" hspace="0" ' + ($.browser.msie ? 'allowtransparency="true""' : '') + ' scrolling="' + selectedOpts.scrolling + '" src="' + currentOpts.href + '"></iframe>').appendTo(content);
+ $('<iframe id="fancybox-frame" name="fancybox-frame' + new Date().getTime() + '" frameborder="0" hspace="0" ' + ' scrolling="' + selectedOpts.scrolling + '" src="' + currentOpts.href + '"></iframe>').appendTo(content);
}
wrap.show();
diff --git a/view/php/theme_init.php b/view/php/theme_init.php index 44ade61d7..e6441fc71 100644 --- a/view/php/theme_init.php +++ b/view/php/theme_init.php @@ -15,7 +15,7 @@ head_add_js('js/jquery.js'); head_add_js('js/jquery-migrate-1.1.1.js'); head_add_js('js/jquery.textinputs.js'); head_add_js('js/fk.autocomplete.js'); -head_add_js('library/fancybox/jquery.fancybox-1.3.4.pack.js'); +head_add_js('library/fancybox/jquery.fancybox-1.3.4.js'); head_add_js('library/jquery.timeago.js'); head_add_js('library/jquery.divgrow/jquery.divgrow-1.3.1.js'); head_add_js('library/jquery_ac/friendica.complete.js'); |