mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-31 03:07:17 +00:00
applied comments
This commit is contained in:
@@ -2915,7 +2915,13 @@ function initCalendarSelector() {
|
||||
var input = items[i].childNodesWithTag("input")[0];
|
||||
var activeTasks = items[i].childNodesWithTag("span")[0];
|
||||
$(input).observe("click", clickEventWrapper(updateCalendarStatus));
|
||||
$(activeTasks).innerHTML = "(" + activeTasks.innerText + ")";
|
||||
if (activeTasks.textContent == "0") {
|
||||
activeTasks.innerHTML = "";
|
||||
}
|
||||
else {
|
||||
activeTasks.innerHTML = "(" + activeTasks.innerText + ")";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
var links = $("calendarSelectorButtons").childNodesWithTag("a");
|
||||
|
||||
Reference in New Issue
Block a user