From: Michael J. Rubinsky Date: Mon, 3 Jan 2011 17:11:51 +0000 (-0500) Subject: better way of handling subgallery ul placement X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=bea4d11aadfb8ef7ad0cee2a812a64c141389c31;p=horde.git better way of handling subgallery ul placement --- 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 = $('