app/models/sir_trevor_rails/blocks/textable.rb in blacklight-spotlight-0.17.1 vs app/models/sir_trevor_rails/blocks/textable.rb in blacklight-spotlight-0.18.0
- old
+ new
@@ -10,10 +10,11 @@
def text_align
send(:'text-align')
end
def content_align
- text_align == 'left' ? 'right' : 'left' if text?
+ return unless text?
+ text_align == 'left' ? 'right' : 'left'
end
def text
val = super