Skip to content

Commit be49ed4

Browse files
committed
Fix missing meeting titles
1 parent 433cdd4 commit be49ed4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

extension/content.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,10 @@ function overWriteChromeStorage() {
251251
}
252252

253253
function updateMeetingTitle() {
254-
if (document.querySelector('div[data-meeting-title]')) {
255-
const title = document.querySelector('div[data-meeting-title]').getAttribute("data-meeting-title")
254+
if (document.querySelector(".u6vdEc")) {
255+
const title = document.querySelector(".u6vdEc").textContent
256256
const invalidFilenameRegex = /^[a-z0-9-_.() ]+$/i;
257-
return filename.replace(invalidFilenameRegex, '_')
257+
return title.replace(invalidFilenameRegex, '_')
258258
}
259259
else
260260
return document.title

0 commit comments

Comments
 (0)