Milimetric has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/91674


Change subject: fixed silly JS mistake
......................................................................

fixed silly JS mistake

Change-Id: I72c67d07ea2a67155a13625c33b5b11b18cb628f
---
M wikimetrics/static/js/cohortList.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/wikimetrics 
refs/changes/74/91674/1

diff --git a/wikimetrics/static/js/cohortList.js 
b/wikimetrics/static/js/cohortList.js
index cef26af..6cec1bd 100644
--- a/wikimetrics/static/js/cohortList.js
+++ b/wikimetrics/static/js/cohortList.js
@@ -26,7 +26,7 @@
     
     viewModel.filteredCohorts = ko.computed(function(){
         if (this.cohorts().length && this.filter().length) {
-            filter = this.filter().toLowerCase();
+            var filter = this.filter().toLowerCase();
             return this.cohorts().filter(function(it){
                 var name = it.name.toLowerCase();
                 return name.indexOf(filter) >= 0;

-- 
To view, visit https://gerrit.wikimedia.org/r/91674
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I72c67d07ea2a67155a13625c33b5b11b18cb628f
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wikimetrics
Gerrit-Branch: master
Gerrit-Owner: Milimetric <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to