We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24b977e commit 17336a0Copy full SHA for 17336a0
11-extra/8-range-textrange-selection/article.md
@@ -269,7 +269,7 @@ HTML:
269
```js no-beautify
270
function getSelectionText() {
271
var txt = '';
272
- if (txt = window.getSelection) // Не IE, используем метод getSelection
+ if (txt = window.getSelection) { // Не IE, используем метод getSelection
273
txt = window.getSelection().toString();
274
} else { // IE, используем объект selection
275
txt = document.selection.createRange().text;
0 commit comments