Sha256: 70353d9145a513d2efba78d8f623032f11c04f6f64e5dc427c8ed6bd587eee11

Contents?: true

Size: 371 Bytes

Versions: 15

Compression:

Stored size: 371 Bytes

Contents

document.addEventListener("DOMContentLoaded", function () {
  var elem = document.querySelector(".summary li.enqueued > a"), href;

  if (!elem) {
    console.warn("[Sidekiq::Threshold] cannot find summary bar link to fix");
  } else {
    href = elem.getAttribute("href").toString();
    elem.setAttribute("href", href.replace(/\/queues$/, "/enhanced-queues"));
  }
});

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sidekiq-throttled-0.15.1 lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.18.0 lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.17.0 lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.16.2 lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.16.1 lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.16.0 lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.15.0 lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.14.1 lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.13.0 lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.12.0 lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.11.0 lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.10.0 lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.10.0.beta lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.10.0.alpha lib/sidekiq/throttled/web/summary_fix.js
sidekiq-throttled-0.9.0 lib/sidekiq/throttled/web/summary_fix.js