From bea4d11aadfb8ef7ad0cee2a812a64c141389c31 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 3 Jan 2011 12:11:51 -0500 Subject: [PATCH] better way of handling subgallery ul placement --- ansel/js/mobile.js | 31 +++++++++++++++++-------------- ansel/templates/mobile/gallery.html.php | 2 +- ansel/themes/default/mobile.css | 4 ++++ 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/ansel/js/mobile.js b/ansel/js/mobile.js index 7594bab36..6e55f5aa0 100644 --- a/ansel/js/mobile.js +++ b/ansel/js/mobile.js @@ -23,28 +23,27 @@ var AnselMobile = { /** * Build a gallery list * + * @param object l The ul object to append to * @param object gs A hash of the galleries - * @param string c The CSS class to use for the ul * * @return a ul dom object */ - buildGalleryList: function(gs, c) + buildGalleryList: function(l, gs) { - if (!c) { - c = 'anselgalleries'; - } - var list = $('