mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 12:07:52 +00:00
Bug 932694 - Show apps container when installed apps are found. r=mfinkle
This commit is contained in:
parent
febfa6a288
commit
a763cbfef9
@ -99,8 +99,8 @@ function updateList() {
|
||||
request.onsuccess = function() {
|
||||
for (let i = 0; i < request.result.length; i++)
|
||||
addApplication(request.result[i]);
|
||||
if (!request.result.length)
|
||||
document.getElementById("noapps").className = "";
|
||||
if (request.result.length)
|
||||
document.getElementById("main-container").classList.remove("hidden");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
<div id="header-button" role="button" aria-label="&aboutApps.browseMarketplace;" pref="app.marketplaceURL" onclick="openLink(this);"/>
|
||||
</div>
|
||||
|
||||
<div id="main-container" class="list hidden">
|
||||
<div id="main-container" class="hidden">
|
||||
<div>
|
||||
<div class="spacer" id="spacer1"> </div>
|
||||
<div id="appgrid"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user