16 lines
342 B
JavaScript
16 lines
342 B
JavaScript
|
(function ($) {
|
||
|
// Store our function as a property of Drupal.behaviors.
|
||
|
Drupal.behaviors.arteleku_skin_search = {
|
||
|
attach: function (context, settings) {
|
||
|
$('.search-results').masonry({
|
||
|
// options
|
||
|
itemSelector : '.tarjeta',
|
||
|
columnWidth : 170,
|
||
|
gutterWidth: 30,
|
||
|
isResizable : true
|
||
|
});
|
||
|
}
|
||
|
};
|
||
|
|
||
|
}(jQuery));
|