You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/02/13 16:45:05 UTC
[kibble] branch master updated: fix CSS magic
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
The following commit(s) were added to refs/heads/master by this push:
new b57d4c7 fix CSS magic
b57d4c7 is described below
commit b57d4c7f8b17fd0a77f427e5df7de41578f817fa
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Feb 13 17:44:54 2018 +0100
fix CSS magic
---
ui/js/coffee/widget_comstat.coffee | 4 ++--
ui/js/kibble.v1.js | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ui/js/coffee/widget_comstat.coffee b/ui/js/coffee/widget_comstat.coffee
index 2c7391a..a23cc42 100644
--- a/ui/js/coffee/widget_comstat.coffee
+++ b/ui/js/coffee/widget_comstat.coffee
@@ -2,7 +2,7 @@ comShow = (t) ->
rows = document.getElementsByTagName("tr")
for row in rows
if (row.getAttribute("id")||"foo").match("comstat_#{t}_")
- row.style.display = "show"
+ row.style.display = "table-row"
document.getElementById("comstat_#{t}_more").style.display = "none"
comstat = (json, state) ->
@@ -55,7 +55,7 @@ comstat = (json, state) ->
app(tbl, tr)
tb = new HTML('tbody')
json.stats.code.newcomers.sort((a,b) => json.bios[b].code[0] - json.bios[a].code[0])
- dstyle = 'show'
+ dstyle = 'table-row'
for person, i in json.stats.code.newcomers
oemail = person
hash = json.bios[person].code[1].id.split('/')[1]
diff --git a/ui/js/kibble.v1.js b/ui/js/kibble.v1.js
index 9ad0d17..ec194a2 100644
--- a/ui/js/kibble.v1.js
+++ b/ui/js/kibble.v1.js
@@ -5308,7 +5308,7 @@ comShow = function(t) {
for (q = 0, len = rows.length; q < len; q++) {
row = rows[q];
if ((row.getAttribute("id") || "foo").match("comstat_" + t + "_")) {
- row.style.display = "show";
+ row.style.display = "table-row";
}
}
return document.getElementById("comstat_" + t + "_more").style.display = "none";
@@ -5370,7 +5370,7 @@ comstat = function(json, state) {
return json.bios[b].code[0] - json.bios[a].code[0];
};
})(this));
- dstyle = 'show';
+ dstyle = 'table-row';
ref = json.stats.code.newcomers;
for (i = q = 0, len = ref.length; q < len; i = ++q) {
person = ref[i];
--
To stop receiving notification emails like this one, please contact
humbedooh@apache.org.