Sha256: 44ba690b099a935e0a6ebc2909608eb00f4b6caf37faaf458945a5af21172180
Contents?: true
Size: 448 Bytes
Versions: 32
Compression:
Stored size: 448 Bytes
Contents
$.fn.updateTitle = function () { if (!this.data('title')) { this.data('title', this.attr('title')); } if (this.hasClass('active')) { this.attr('title', this.data('activeTitle')); } else { this.attr('title', this.data('title')); } }; $.fn.loadLazyImages = function() { this.find('img[data-src]').each(function() { var img = $(this); if (!img.attr('src')) { img.attr('src', img.data('src')); } }); };
Version data entries
32 entries across 32 versions & 1 rubygems