1(function($) { 2 $(document).ready(function() { 3 if ( typeof MooTools != 'undefined' ) { 4 (function($) { 5 $("div[id$='datetimepicker']").each(function (i,el) { 6 if (typeof $(el)[0] != 'undefined') { 7 $(el)[0].hide = null; 8 } 9 }); 10 11 $('.modal').each(function(){ 12 this.hide = null; 13 }); 14 })(jQuery); 15 } 16 17 $('.accordion').each(function() { 18 $(this).find('.accordion-toggle').each(function(i,title){ 19 if ($(title).parent().siblings('.accordion-body').hasClass('in') === false) { 20 $(title).addClass('collapsed'); 21 } 22 }); 23 }); 24 25 $('.accordion-toggle').click(function(){ 26 $(this).parents('.accordion').each(function(){ 27 $(this).find('.accordion-toggle').each(function(i,title) { 28 $(title).addClass('collapsed'); 29 }); 30 }); 31 }); 32 33 if ( typeof MooTools != 'undefined' ) { 34 (function($) { 35 $$('[data-toggle=collapse]').each(function (e) { 36 if ( typeof $$(e.get('data-target'))[0] != 'undefined' ) { 37 $$(e.get('data-target'))[0].hide = null; 38 } 39 }); 40 })(MooTools); 41 42 $('.bootstrap-datetimepicker-widget li').each(function(i, el){ 43 if (typeof $(el) != 'undefined' || typeof $(el)[0] != 'undefined') { 44 $(el)[0].hide = null; 45 } 46 }); 47 48 $('.uk-navbar-nav li').each(function(i, el){ 49 if (typeof $(el) != 'undefined' || typeof $(el)[0] != 'undefined') { 50 $(el)[0].hide = null; 51 } 52 }); 53 } 54 }); 55})(jQuery); 56 57if (window.MooTools) { 58 // Mootools conflict fix for toggle with Bootstrap 3/JQuery 59 window.addEvent('load', function() { 60 $$("[rel=tooltip],[data-toggle],a[data-toggle],button[data-toggle],[data-toggle=collapse],a[data-toggle=dropdown]").each(function (e) { 61 e.getParent().hide = null; 62 e.hide = null; 63 }); 64 }); 65 66 window.addEvent('domready', function(){ 67 if (typeof jQuery != 'undefined' && typeof MooTools != 'undefined' ) { 68 Element.implement({ 69 slide: function(how, mode){ 70 return this; 71 }, 72 hide: function () { 73 return this; 74 }, 75 show: function (v) { 76 return this; 77 } 78 }); 79 } 80 }); 81}
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.