Sha256: df1407510fd6fa006af81abe28c4341572755dfce7ee2e4219ffcdcd4944b34b
Contents?: true
Size: 425 Bytes
Versions: 25
Compression:
Stored size: 425 Bytes
Contents
Blacklight.onLoad(function() { $('[data-map="item"]').each(function(i, element) { // get viewer module from protocol value and capitalize to match class name var viewerName = $(element).data().protocol, viewer; // get new viewer instance and pass in element viewer = new window['GeoBlacklight']['Viewer'][viewerName](element); }); $('.truncate-abstract').readmore({ maxHeight: 60 }); });
Version data entries
25 entries across 25 versions & 1 rubygems