Sha256: e051b447beaaa87459bb1f3802bd521cc76261fc28432017918b612d9365b9b3
Contents?: true
Size: 436 Bytes
Versions: 18
Compression:
Stored size: 436 Bytes
Contents
# frozen_string_literal: true module Spotlight # Displays the document class IconComponent < Blacklight::Icons::IconComponent if Blacklight.version < '7.39' # Work around https://github.com/projectblacklight/blacklight/issues/3232 (fixed in Blacklight 7.39) def classes ((@classes || (super if defined?(super)) || []) - ['blacklight-icons-'] + ["blacklight-icons-#{name}"]).uniq end end end end
Version data entries
18 entries across 18 versions & 1 rubygems