mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Codestyle.
This commit is contained in:
parent
aa23cf04b5
commit
bb26cba009
@ -33,7 +33,7 @@
|
||||
serviceVersionElement = document.getElementById("service-version");
|
||||
serviceVersionElement.value = this.job.service_version;
|
||||
statusColor = JobList.STATUS_COLORS[this.job.status]
|
||||
|| JobList.STATUS_COLORS['default'];
|
||||
|| JobList.STATUS_COLORS['default'];
|
||||
statusElement = document.getElementById("status");
|
||||
statusElement.classList.add(statusColor);
|
||||
statusElement.innerHTML = this.job.status;
|
||||
@ -73,9 +73,9 @@
|
||||
updatedElement = document.getElementById("status");
|
||||
status = updatedElement.innerHTML;
|
||||
statusColor = JobList.STATUS_COLORS[status]
|
||||
|| JobList.STATUS_COLORS['default'];
|
||||
|| JobList.STATUS_COLORS['default'];
|
||||
newStatusColor = JobList.STATUS_COLORS[operation.value]
|
||||
|| JobList.STATUS_COLORS['default'];
|
||||
|| JobList.STATUS_COLORS['default'];
|
||||
updatedElement.classList.remove(statusColor);
|
||||
updatedElement.classList.add(newStatusColor);
|
||||
updatedElement.innerHTML = operation.value;
|
||||
|
Loading…
Reference in New Issue
Block a user