app/helpers/wcc/contentful/app/menu_helper.rb in wcc-contentful-app-1.2.0 vs app/helpers/wcc/contentful/app/menu_helper.rb in wcc-contentful-app-1.2.1

- old
+ new

@@ -67,10 +67,10 @@ options[:class] = [*classes, *options[:class]] end def hash_only(href) url = URI(href) - '#' + url.fragment if url.fragment.present? + "##{url.fragment}" if url.fragment.present? end # An href is local if it points to a part of the page def local?(href) return true if href =~ /^#/