Skip to content

Commit f5271b1

Browse files
committed
Update comments
1 parent 5937b74 commit f5271b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

seleniumbase/js_code/recorder_js.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@
610610
}
611611
else
612612
document.recorded_actions.push(['click', selector, href, d_now]);
613-
// Switch to hover_click() if in a dropdown.
613+
// hover_click() if dropdown.
614614
if (element.parentElement.classList.contains('dropdown-content') &&
615615
element.parentElement.parentElement.classList.contains('dropdown'))
616616
{
@@ -637,7 +637,7 @@
637637
else if (ra_len > 0 &&
638638
document.recorded_actions[ra_len-1][0] === 'mo_dn')
639639
{
640-
// Maybe an accidental drag & drop.
640+
// Maybe accidental drag & drop.
641641
document.recorded_actions.pop();
642642
}
643643
json_rec_act = JSON.stringify(document.recorded_actions);
@@ -673,7 +673,7 @@
673673
});
674674
document.body.addEventListener('keyup', function (event) {
675675
reset_if_recorder_undefined();
676-
// Controls to Pause & Resume.
676+
// Controls to pause & resume.
677677
pause_rec = sessionStorage.getItem('pause_recorder');
678678
rec_mode = sessionStorage.getItem('recorder_mode');
679679
l_key = event.key.toLowerCase();

0 commit comments

Comments
 (0)