Skip to content

Commit

Permalink
fix #792
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Jun 2, 2024
1 parent 86e07c3 commit df05025
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Old Twitter Layout (2024)",
"description": "__MSG_ext_description__",
"version": "1.8.4.5",
"version": "1.8.4.6",
"manifest_version": 3,
"homepage_url": "https://github.com/dimdenGD/OldTwitter",
"background": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ function renderMedia(t) {
let [w, h] = sizeFunctions[t.extended_entities.media.length](m.original_info.width, m.original_info.height);
_html += html`
<img
${m.ext_alt_text ? `alt="${escapeHTML(m.ext_alt_text)}" title="${escapeHTML(m.ext_alt_text)}"` : ''}
${m.ext_alt_text ? `alt="${escapeHTML(m.ext_alt_text.replaceAll('"', "'"))}" title="${escapeHTML(m.ext_alt_text.replaceAll('"', "'"))}"` : ''}
crossorigin="anonymous"
width="${w}"
height="${h}"
Expand Down
2 changes: 1 addition & 1 deletion scripts/twchallenge.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function solveChallenge(path, method) {
solveCallbacks[id].reject('Solver timed out');
delete solveCallbacks[id];
}
}, 1500);
}, 1750);
} else {
reject('Solver iframe not ready');
}
Expand Down

0 comments on commit df05025

Please sign in to comment.