PageSourceSearch

https://www.widgi.com/components/com_jevents/assets/js/jQnc.js?3.4.50

js widgi.com collected 2026-10-04 01:28:59 UTC 2,482 bytes, 73 lines download raw bytes

1var jevjq;
2function checkJQ() {
3    //alert(typeof $);
4    if (window.jQuery && jQuery.fn) {
5        jevjq = jQuery.noConflict();
6    }
7}
8checkJQ();
9
10// workaround for tooltips and popovers failing when MooTools is enabled with Bootstrap 3
11// See http://www.mintjoomla.com/support/community-forum/user-item/1833-braza/48-cobalt-8/2429.html?start=20
12
13jQuery(document).on('ready', function() {
14	/** Will be true if bootstrap 3 is loaded, false if bootstrap 2 or no bootstrap */
15	var bootstrap3_enabled = (typeof jQuery().emulateTransitionEnd == 'function');
16
17	if(window.MooTools && bootstrap3_enabled) {
18		/**
19		 * Workaround based on the code written by JoomlaArt
20		 *
21		 * @copyright     Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved.
22		 * @license       GNU General Public License version 2 or later; see LICENSE.txt
23		 * @authors       JoomlArt, JoomlaBamboo, (contribute to this project at github
24		 *                & Google group to become co-author)
25		 *------------------------------------------------------------------------------
26		 */
27
28		var mtHide = Element.prototype.hide,
29			mtShow = Element.prototype.show,
30			mtSlide = Element.prototype.slide;
31
32		Element.implement({
33			show: function(args){
34				if(arguments.callee &&
35					arguments.callee.caller &&
36					arguments.callee.caller.toString().indexOf('isPropagationStopped') !== -1){	//jquery mark
37					return this;
38				}
39				return jQuery.isFunction(mtShow) && mtShow.apply(this, args);
40			},
41
42			hide: function(){
43				if(arguments.callee &&
44					arguments.callee.caller &&
45					arguments.callee.caller.toString().indexOf('isPropagationStopped') !== -1){	//jquery mark
46					return this;
47				}
48				return jQuery.isFunction(mtHide) && mtHide.apply(this, arguments);
49			},
50
51			slide: function(args){
52				if(arguments.callee &&
53					arguments.callee.caller &&
54					arguments.callee.caller.toString().indexOf('isPropagationStopped') !== -1){	//jquery mark
55					return this;
56				}
57				return jQuery.isFunction(mtSlide) && mtSlide.apply(this, args);
58			}
59		});
60	}
61});
62
63// disable click event in popover for non-touch devices
64jQuery(document).on('ready', function() {
65	 if (!('ontouchstart' in document.documentElement)) {
66		//alert('non-touch');
67		jQuery("<style>" ).prop("type" , "text/css").html(" .jev-click-to-open {display:none;}").appendTo("head");
68	 }
69	 else {
70		 //alert('has-touch');
71		// jQuery("<style>" ).prop("type" , "text/css").html(" .jev-click-to-open {display:none;}").appendTo("head");
72	 }
73});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.