Skip to content

Commit 921ed90

Browse files
chore: fix some comments (#7975)
1 parent 40b0c9f commit 921ed90

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cms/static/cms/js/libs/pep.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@
428428
// is element a shadow host?
429429
sr = this.targetingShadow(t);
430430
while (sr) {
431-
// find the the element inside the shadow root
431+
// find the element inside the shadow root
432432
st = sr.elementFromPoint(x, y);
433433
if (!st) {
434434
// check for older shadows

cms/tests/frontend/integration/changeSettings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ casper.test.begin('Change Settings', function(test) {
4343
});
4444
})
4545
.waitForResource(/admin/)
46-
// have to wait for the sideframe again, cause the page reloads itself after saving the the language
46+
// have to wait for the sideframe again, cause the page reloads itself after saving the language
4747
.waitUntilVisible('.cms-sideframe-frame')
4848
.withFrame(0, function() {
4949
casper
@@ -69,7 +69,7 @@ casper.test.begin('Change Settings', function(test) {
6969
});
7070
})
7171
.waitForResource(/admin/)
72-
// have to wait for the sideframe again, cause the page reloads itself after saving the the language
72+
// have to wait for the sideframe again, cause the page reloads itself after saving the language
7373
.waitUntilVisible('.cms-sideframe-frame')
7474
.withFrame(0, function() {
7575
casper

docs/contributing/documentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ context. Please follow these rules:
317317
capitalisation or highlighting: "Your placeholder can now be used."
318318
- at the start of sentences or titles, capitalise in the usual way: "Placeholder
319319
management guide"
320-
- when introducing the term for the the first time, or for the first time in a document,
320+
- when introducing the term for the first time, or for the first time in a document,
321321
you may highlight it to draw attention to it: "**Placeholders** are special model
322322
fields".
323323
- when the word refers specifically to an object in the code, highlight it as a literal:

0 commit comments

Comments
 (0)