Fix homepage demo

Thanks Aris Protopapas for pointing this out.
pull/293/head
Glen Cheney 5 years ago committed by GitHub
parent 3eae406269
commit 7ab9d95dc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -130,7 +130,7 @@ Demo.prototype._handleSortChange = function (evt) {
var options = {};
function sortByDate(element) {
return element.getAttribute('data-created');
return Date.parse(element.getAttribute('data-date-created'));
}
function sortByTitle(element) {

Loading…
Cancel
Save