Skip to content

Commit

Permalink
Merge pull request #27 from weiyudev/main
Browse files Browse the repository at this point in the history
Fix avatar counter 2 issue [LCEdit Compare]
  • Loading branch information
RandomPerson3465 authored Jun 13, 2024
2 parents c8a355c + 2f0cac6 commit 7280098
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compare/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ class LivecountseditInterface {
}
},
this.setAvatar2 = function () {
if (!document.getElementById("options.counter.avatar.file").files.length) {
if (!document.getElementById("options.counter.avatar.url").value) return;
if (!document.getElementById("options.counter.avatar.file2").files.length) {
if (!document.getElementById("options.counter.avatar.url2").value) return;
else document.getElementById("yt_profile_vs2").src = document.getElementById("options.counter.avatar.url2").value
} else {
document.getElementById("yt_profile_vs2").src = URL.createObjectURL(document.getElementById("options.counter.avatar.file2").files[0])
Expand Down

0 comments on commit 7280098

Please sign in to comment.