lib/trestle/toolbar/item.rb in trestle-0.9.8 vs lib/trestle/toolbar/item.rb in trestle-0.10.0.pre
- old
+ new
@@ -95,10 +95,10 @@
end
end
class Dropdown < Button
def options
- super.merge(type: "button", data: { toggle: "dropdown" })
+ super.merge(type: "button", data: { bs_toggle: "dropdown" })
end
def label
safe_join([
super, content_tag(:span, "", class: "caret")