diff --git a/app/views/browse/_paging_nav.html.erb b/app/views/browse/_paging_nav.html.erb index 1f4cbee85..738d2f2ee 100644 --- a/app/views/browse/_paging_nav.html.erb +++ b/app/views/browse/_paging_nav.html.erb @@ -1,8 +1,8 @@

<%= heading %>

<% if pages.page_count > 1 %> -
+
+ <% end %>
diff --git a/lib/classic_pagination/pagination_helper.rb b/lib/classic_pagination/pagination_helper.rb index 3ff7fbf4e..c691360e0 100644 --- a/lib/classic_pagination/pagination_helper.rb +++ b/lib/classic_pagination/pagination_helper.rb @@ -133,6 +133,7 @@ module ActionView # Same as above, but # - with bootstrap classes + # - no list wrapper # - invoked block returns the page url def pagination_links_bootstrap(paginator, options) options = DEFAULT_OPTIONS.merge(options) @@ -148,8 +149,6 @@ module ActionView html = "" - html << "" - html end