зеркало из https://github.com/mozilla/pjs.git
Bug 359084
rustico: some ugly excess platform text when viewing an add-on that's not available for your platform r=shaver Changed CSS but then forgot the dictionaries page with initial patch.
This commit is contained in:
Родитель
7b47479273
Коммит
60ac8502a7
|
@ -23,11 +23,12 @@ function writeCurrentDictionary()
|
|||
|
||||
document.write("<div class='corner-box'>Install dictionary");
|
||||
if (dict.size)
|
||||
document.write(" (", dict.size, "KB)");
|
||||
document.write(" (", dict.size, " KB)");
|
||||
document.write("<div class='install-button'><a href='",
|
||||
dict.link,
|
||||
"' onclick='return install(event, \"Dictionary: ", prettyName, "\")'><span>", prettyName);
|
||||
document.writeln("</span></a>");
|
||||
"' onclick='return install(event, \"Dictionary: ", prettyName, "\")'>",
|
||||
"<span class='install-green-button'><span class='install-button-text'>", prettyName);
|
||||
document.writeln("</span></span></a>");
|
||||
document.writeln("</div></div>");
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче