{"action":"closed","issue":{"url":"https://api.github.com/repos/miromannino/Justified-Gallery/issues/146","repository_url":"https://api.github.com/repos/miromannino/Justified-Gallery","labels_url":"https://api.github.com/repos/miromannino/Justified-Gallery/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/miromannino/Justified-Gallery/issues/146/comments","events_url":"https://api.github.com/repos/miromannino/Justified-Gallery/issues/146/events","html_url":"https://github.com/miromannino/Justified-Gallery/issues/146","id":131033768,"number":146,"title":"Blank row with lastRow : hide","user":{"login":"davidb2002","id":244506,"avatar_url":"https://avatars.githubusercontent.com/u/244506?v=3","gravatar_id":"","url":"https://api.github.com/users/davidb2002","html_url":"https://github.com/davidb2002","followers_url":"https://api.github.com/users/davidb2002/followers","following_url":"https://api.github.com/users/davidb2002/following{/other_user}","gists_url":"https://api.github.com/users/davidb2002/gists{/gist_id}","starred_url":"https://api.github.com/users/davidb2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidb2002/subscriptions","organizations_url":"https://api.github.com/users/davidb2002/orgs","repos_url":"https://api.github.com/users/davidb2002/repos","events_url":"https://api.github.com/users/davidb2002/events{/privacy}","received_events_url":"https://api.github.com/users/davidb2002/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/miromannino/Justified-Gallery/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-03T13:58:38Z","updated_at":"2016-06-17T16:33:58Z","closed_at":"2016-06-17T16:33:58Z","body":"I've just updated to 3.6.1 and it seems when using the lastrow: hide option, the incomplete row's photos are hidden, but the height of the row isn't. Instead you get a blank row.\r\n\r\n![lens grease by user_removed](https://cloud.githubusercontent.com/assets/244506/12784208/a19871de-ca7d-11e5-884f-8484a60652a3.jpeg)\r\n\r\nI can confirm there is a hidden photo in the last blank row. Here is my setup:\r\n\r\n```\r\n$('#more_photos').justifiedGallery({\r\n\t\t\t\t'lastRow' : 'hide',\r\n\t\t\t\t'rowHeight' : 90,\r\n\t\t\t\t'margins' : 2\r\n\t\t\t});\r\n```\r\n \r\nI'm more than happy to modify the code, but I'm yet to find the part of the code that handles this."}}
{"actor":{"display_login":"miromannino"}}