Remove browser detection
This commit is contained in:
parent
8bc86eb98b
commit
e8acaa08ad
3 changed files with 0 additions and 15 deletions
|
|
@ -1,8 +0,0 @@
|
|||
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
|
||||
|
||||
jQuery.browser = {};
|
||||
jQuery.browser.mozilla = /mozilla/.test(navigator.userAgent.toLowerCase()) && !/webkit/.test(navigator.userAgent.toLowerCase());
|
||||
jQuery.browser.webkit = /webkit/.test(navigator.userAgent.toLowerCase());
|
||||
jQuery.browser.opera = /opera/.test(navigator.userAgent.toLowerCase());
|
||||
jQuery.browser.msie = /msie/.test(navigator.userAgent.toLowerCase());
|
||||
// @license-end
|
||||
|
|
@ -12,7 +12,6 @@
|
|||
//= require jquery.charcount
|
||||
//= require jquery-placeholder
|
||||
//= require rails-timeago
|
||||
//= require browser_detection
|
||||
//= require jquery.events.input
|
||||
//= require jakobmattsson-jquery-elastic
|
||||
//= require jquery.mentionsInput
|
||||
|
|
|
|||
|
|
@ -116,12 +116,6 @@ jQuery.fn.center = (function() {
|
|||
images = selectedImage.parents(self.options.imageParent).find(self.options.imageSelector),
|
||||
imageThumb;
|
||||
|
||||
if( $.browser.msie ) {
|
||||
/* No fancy schmancy lightbox for IE, because it doesn't work in IE */
|
||||
window.open(imageUrl);
|
||||
return;
|
||||
}
|
||||
|
||||
self.imageset.html("");
|
||||
images.each(function(index, image) {
|
||||
image = $(image);
|
||||
|
|
|
|||
Loading…
Reference in a new issue