Sha256: 4af5c7cbff4328a2ff150626dd39c7e3dc74c0c7fb28f30369507dcbde9fd99c

Contents?: true

Size: 576 Bytes

Versions: 3

Compression:

Stored size: 576 Bytes

Contents

//= require blacklight/core
(function($) {
//add ajaxy dialogs to certain links, using the ajaxyDialog widget.
    Blacklight.do_more_facets_behavior = function () {
      $( Blacklight.do_more_facets_behavior.selector ).ajaxyDialog({
          width: $(window).width() / 2,  
          position: ['center', 50],
          chainAjaxySelector: "a.next_page, a.prev_page, a.sort_change"        
      });
    };
    Blacklight.do_more_facets_behavior.selector = "a.more_facets_link";
    
$(document).ready(function() {
  Blacklight.do_more_facets_behavior();  
});
})(jQuery);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacklight-3.8.2 app/assets/javascripts/blacklight/more_facets.js
blacklight-3.8.1 app/assets/javascripts/blacklight/more_facets.js
blacklight-3.8.0 app/assets/javascripts/blacklight/more_facets.js