mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17517] Clean up
PHPBB-17517
This commit is contained in:
parent
7d50f40dde
commit
5553e7ae19
1 changed files with 2 additions and 2 deletions
|
@ -348,7 +348,7 @@ function storeCaret(textEl) {
|
|||
/**
|
||||
* Caret Position object
|
||||
*/
|
||||
function CaretPosition() {
|
||||
function caretPosition() {
|
||||
const start = null;
|
||||
const end = null;
|
||||
}
|
||||
|
@ -357,7 +357,7 @@ function CaretPosition() {
|
|||
* Get the caret position in an textarea
|
||||
*/
|
||||
function getCaretPosition(txtarea) {
|
||||
const caretPos = new CaretPosition();
|
||||
const caretPos = new caretPosition();
|
||||
|
||||
// simple Gecko/Opera way
|
||||
if (txtarea.selectionStart || txtarea.selectionStart === 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue