Skip to content

Commit

Permalink
Always display totals control (so URL/name is hidden)
Browse files Browse the repository at this point in the history
  • Loading branch information
nateberkopec committed Jan 2, 2024
1 parent 2ce3fee commit 804f2da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/html/includes.js
Expand Up @@ -220,7 +220,7 @@ var _MiniProfiler = (function() {
totalSqlCount += parseInt(json.sql_count);
reqs++;

if (!controls && reqs > 1 && options.collapseResults && !expandedResults) {
if (!controls && options.collapseResults && !expandedResults) {
if (!totalsControl) {
toArray(container.querySelectorAll(".profiler-result")).forEach(
function(el) {
Expand Down
2 changes: 1 addition & 1 deletion lib/mini_profiler/asset_version.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
module Rack
class MiniProfiler
ASSET_VERSION = '1369b689f72a69d94d8d7d0ffc2d4842'
ASSET_VERSION = '116e2a6fd81c286e004e2a0afb03baa1'
end
end

0 comments on commit 804f2da

Please sign in to comment.