We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc84229 commit 8e7580eCopy full SHA for 8e7580e
scripts/fb_revealDeletedMessages.js
@@ -256,7 +256,7 @@ export default {
256
},
257
258
onClick: () => {
259
- let len = window.ufs_rvdfm_all_msgs.length;
+ let len = Object.entries(window.ufs_rvdfm_all_msgs).length;
260
if (!len) alert("Chức năng chưa lưu được tin nhắn nào.");
261
else if (
262
confirm(
@@ -267,7 +267,7 @@ export default {
267
` thì bạn sẽ ko biết được nội dung tin nhắn.`
268
)
269
) {
270
- window.ufs_rvdfm_all_msgs = [];
+ window.ufs_rvdfm_all_msgs = {};
271
alert("Đã xóa " + len + " tin nhắn khỏi bộ nhớ.");
272
}
273
0 commit comments