summaryrefslogtreecommitdiff
path: root/templates/packages/details.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-30 13:15:20 -0500
committerDan McGee <dan@archlinux.org>2010-09-30 13:15:20 -0500
commit3682fb285b9f131a56aed2c6cab8d303c6aae5ae (patch)
tree217509085054951d4fdcdb6d9f5c0b5099412e5b /templates/packages/details.html
parent0eac9698c6bdebdf5056a97b7c979b526d54ec15 (diff)
Move most inline JS into script filerelease_2010-09-30
We're getting to the point where we are starting to have a good chunk of JS scattered about. Centralize a lot of it for maintenance and performance purposes. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details.html')
-rw-r--r--templates/packages/details.html9
1 files changed, 1 insertions, 8 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index f84b85ef..09df176e 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -212,15 +212,8 @@
</div><!-- #pkgdetails -->
{% load cdn %}{% jquery %}
+<script type="text/javascript" src="/media/archweb.js"></script>
<script type="text/javascript">
-function ajaxifyFiles() {
- $('#filelink').click(function(event) {
- event.preventDefault();
- $.get(this.href, function(data) {
- $('#pkgfilelist').html(data);
- });
- });
-}
$(document).ready(ajaxifyFiles);
</script>
{% endblock %}