jermartin77/plusgallery — pull request #29 by Mike-Loffland (2014-12-01 21:17:05+00:00)
Title: Updated albumId check

Added typeof check on pg.albumId !== 'undefined'

I was attempting to list all the albums on my Picasa account. But, since pg.albumId was coming through as "undefined" it was passing the !==null check and attempting to run pg.loadSingleAlbum instead of pg.loadAlbumData().

Fixed.

Thanks Mang!