From 463f1cb52b0d57f0e388a0324a06f1a90bb9ea09 Mon Sep 17 00:00:00 2001
From: Katarzyna Kobierska <kkobierska@gmail.com>
Date: Mon, 11 Jul 2016 10:33:04 +0200
Subject: [PATCH] Remove unused .js-running-count class

---
 app/views/admin/builds/index.html.haml    | 6 +++---
 app/views/projects/builds/index.html.haml | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/app/views/admin/builds/index.html.haml b/app/views/admin/builds/index.html.haml
index 0fcff566a70..3d77634d8fa 100644
--- a/app/views/admin/builds/index.html.haml
+++ b/app/views/admin/builds/index.html.haml
@@ -13,17 +13,17 @@
       %li{class: ('active' if @scope == 'pending')}
         = link_to admin_builds_path(scope: :pending) do
           Pending
-          %span.badge.js-running-count= number_with_delimiter(@all_builds.pending.count(:id))
+          %span.badge= number_with_delimiter(@all_builds.pending.count(:id))
 
       %li{class: ('active' if @scope == 'running')}
         = link_to admin_builds_path(scope: :running) do
           Running
-          %span.badge.js-running-count= number_with_delimiter(@all_builds.running.count(:id))
+          %span.badge= number_with_delimiter(@all_builds.running.count(:id))
 
       %li{class: ('active' if @scope == 'finished')}
         = link_to admin_builds_path(scope: :finished) do
           Finished
-          %span.badge.js-running-count= number_with_delimiter(@all_builds.finished.count(:id))
+          %span.badge= number_with_delimiter(@all_builds.finished.count(:id))
 
     .nav-controls
       - if @all_builds.running_or_pending.any?
diff --git a/app/views/projects/builds/index.html.haml b/app/views/projects/builds/index.html.haml
index 41f0462e4be..2af625f69cd 100644
--- a/app/views/projects/builds/index.html.haml
+++ b/app/views/projects/builds/index.html.haml
@@ -14,19 +14,19 @@
       %li{class: ('active' if @scope == 'pending')}
         = link_to project_builds_path(@project, scope: :pending) do
           Pending
-          %span.badge.js-running-count
+          %span.badge
             = number_with_delimiter(@all_builds.pending.count(:id))
 
       %li{class: ('active' if @scope == 'running')}
         = link_to project_builds_path(@project, scope: :running) do
           Running
-          %span.badge.js-running-count
+          %span.badge
             = number_with_delimiter(@all_builds.running.count(:id))
 
       %li{class: ('active' if @scope == 'finished')}
         = link_to project_builds_path(@project, scope: :finished) do
           Finished
-          %span.badge.js-running-count
+          %span.badge
             = number_with_delimiter(@all_builds.finished.count(:id))
 
     .nav-controls
-- 
GitLab