mirror of https://github.com/zulip/zulip.git
Return an int from rows.id
I believe this is more correct for our one existing user, update_selected_message. (imported from commit a2f1a20c0d885a4e6de49c69d930844177549cbe)
This commit is contained in:
parent
ed50c17582
commit
644702892b
|
@ -34,7 +34,7 @@ var rows = (function () {
|
|||
};
|
||||
|
||||
exports.id = function (message_row) {
|
||||
return message_row.attr('zid');
|
||||
return parseInt(message_row.attr('zid'), 10);
|
||||
};
|
||||
|
||||
var valid_table_names = {
|
||||
|
|
Loading…
Reference in New Issue