Skip to content

Commit 20cee85

Browse files
committed
Update Google Translate.js
1 parent c5000b8 commit 20cee85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascripts/Google Translate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
var selection;
33
if (window.getSelection) {
44
selection = window.getSelection().toString();
5-
} else if (document.selection && document.selection.type != "Control") {
5+
} else if (document.selection && document.selection.type !== "Control") {
66
selection = document.selection.createRange().text;
77
}
88
if (selection === undefined) {

0 commit comments

Comments
 (0)