summaryrefslogtreecommitdiff
path: root/Cydia.app
diff options
context:
space:
mode:
Diffstat (limited to 'Cydia.app')
-rw-r--r--Cydia.app/package.html1
-rw-r--r--Cydia.app/package.js6
2 files changed, 5 insertions, 2 deletions
diff --git a/Cydia.app/package.html b/Cydia.app/package.html
index 710b87a..46da6ad 100644
--- a/Cydia.app/package.html
+++ b/Cydia.app/package.html
@@ -231,6 +231,7 @@
</div>
<div class="section">
+ <img id="section-src" class="icon"/>
<label>Section</label>
<div id="section"></div>
</div>
diff --git a/Cydia.app/package.js b/Cydia.app/package.js
index e409aa9..762167a 100644
--- a/Cydia.app/package.js
+++ b/Cydia.app/package.js
@@ -142,8 +142,10 @@ $(function () {
var section = package.section;
if (section == null)
$(".section").remove();
- else
- $("#section").html(package.section);
+ else {
+ $("#section-src").src("cydia://section-icon/" + encodeURIComponent(section));
+ $("#section").html(section);
+ }
var size = package.size;
if (size == 0)