Change on text on abuse filter button; resolves https://github.com/bbc/microbit-extras/issues/2293
This commit is contained in:
Родитель
cf6472a902
Коммит
ebfb00d62d
|
@ -10,12 +10,12 @@ module TDev.AbuseReview
|
|||
{
|
||||
if (!root) {
|
||||
var resolved =
|
||||
HTML.mkButton(lf("resolved: shown"), () => {
|
||||
HTML.mkButton(lf("hide resolved reports"), () => {
|
||||
if (root.getAttribute("data-hideresolved") == "yes") {
|
||||
resolved.setChildren(lf("resolved: shown"))
|
||||
resolved.setChildren(lf("hide resolved reports"))
|
||||
root.setAttribute("data-hideresolved", "no")
|
||||
} else {
|
||||
resolved.setChildren(lf("resolved: hidden"))
|
||||
resolved.setChildren(lf("show all reports"))
|
||||
root.setAttribute("data-hideresolved", "yes")
|
||||
}
|
||||
})
|
||||
|
|
Загрузка…
Ссылка в новой задаче