added global veriables and fixed variable images per page

This commit is contained in:
bluesaxman
2019-04-29 09:27:40 -06:00
parent a88b920606
commit d346e90e13
5 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
function initGalery(galleryName, pageCount) {
pageCount = "number" == typeof pageCount ? pageCount : 5;
pageCount = "number" == typeof pageCount ? pageCount : window.g_Gallery.pageCount;
window.curGallery = {};
getImageList(window.api_url, galleryName);
window.curGallery.Position = 0;