diff options
Diffstat (limited to 'components/script/dom/textcontrol.rs')
-rw-r--r-- | components/script/dom/textcontrol.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/textcontrol.rs b/components/script/dom/textcontrol.rs index b47167ae937..fa6c8d0b604 100644 --- a/components/script/dom/textcontrol.rs +++ b/components/script/dom/textcontrol.rs @@ -257,7 +257,7 @@ impl<'a, E: TextControlElement> TextControlSelection<'a, E> { } fn direction(&self) -> SelectionDirection { - self.textinput.borrow().selection_direction + self.textinput.borrow().selection_direction() } // https://html.spec.whatwg.org/multipage/#set-the-selection-range |