Skip to content

Commit cd0937b

Browse files
refact: Reuse existing variable
Co-authored-by: Nico Hoffmann ෴. <me@nhoffmann.com>
1 parent 76c8de5 commit cd0937b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panel/src/components/Forms/Input/TextareaInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export default {
173173
const current = input.value;
174174
175175
if (typeof text === "function") {
176-
text = text(this.$refs.input, this.selection());
176+
text = text(input, this.selection());
177177
}
178178
179179
this.focus();

0 commit comments

Comments
 (0)