diff --git a/www/code/markers.js b/www/code/markers.js index 74541cf4a..125fe82ed 100644 --- a/www/code/markers.js +++ b/www/code/markers.js @@ -623,7 +623,7 @@ define([ return n; }; var getAuthorId = function (Env) { - var existing = Object.keys(Env.authormarks.authors || {}); + var existing = Object.keys(Env.authormarks.authors || {}).map(Number); if (!Env.common.isLoggedIn()) { return authorUid(existing); } var userData = Env.common.getMetadataMgr().getUserData();