Fixed photo.getID
This commit is contained in:
parent
7314245e60
commit
56443a16c2
@ -17,8 +17,8 @@ photo.getID = function() {
|
||||
if (photo.json) id = photo.json.id;
|
||||
else id = $('.photo:hover, .photo.active').attr('data-id');
|
||||
|
||||
if ($.isNumeric(id)===false) return id;
|
||||
else return false;
|
||||
if ($.isNumeric(id)===true) return id;
|
||||
else return false;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user