Skip to content

Commit 912db01

Browse files
Fix button action
1 parent b330e21 commit 912db01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/javascript/translate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function showGoogleTranslateBar() {
3737
"https://wiki.gdevelop.io"
3838
);
3939

40-
const googleTradRegex = /translate\.google\.com/;
40+
const googleTradRegex = /translate\.goog/;
4141
const isGoogleTradPage = googleTradRegex.test(currentUrl);
4242
if (isGoogleTradPage) {
4343
// If the page is already a Google Translate page, we need to get the original URL.

0 commit comments

Comments
 (0)