fix error when no gallery image exist.
This commit is contained in:
parent
f7ab0b4bfe
commit
71d9785a5f
|
@ -9,7 +9,7 @@
|
|||
<script type="text/javascript">
|
||||
var page_no = 2
|
||||
var catch_flag = true
|
||||
var max_page = <%= (@fiter_albums.length/@limit_count).ceil %>
|
||||
var max_page = <%= (@fiter_albums.length/@limit_count).ceil rescue 1 %>
|
||||
$('.bottomnav').ready(function(){
|
||||
function load_html_func(){
|
||||
$('#load_html').text("<%= t('gallery.wait_time') %>")
|
||||
|
|
Loading…
Reference in New Issue