aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-03-28 23:54:30 +0300
committerHenry Jameson <me@hjkos.com>2022-03-28 23:54:30 +0300
commit7b10e47b21d4bd130d5d44f394e4836548899fd9 (patch)
tree8a6ad00e21f9304cb73141baa99d984382ba3d93 /src
parent4b630c3c36518853489009c27602bdae392b4c94 (diff)
rename some binding hooks according to new names
Diffstat (limited to 'src')
-rw-r--r--src/directives/body_scroll_lock.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/directives/body_scroll_lock.js b/src/directives/body_scroll_lock.js
index f5cc2247..b6d16790 100644
--- a/src/directives/body_scroll_lock.js
+++ b/src/directives/body_scroll_lock.js
@@ -55,7 +55,7 @@ const directive = {
disableBodyScroll(el)
}
},
- componentUpdated: (el, binding) => {
+ updated: (el, binding) => {
if (binding.oldValue === binding.value) {
return
}
@@ -66,7 +66,7 @@ const directive = {
enableBodyScroll(el)
}
},
- unbind: (el) => {
+ unmounted: (el) => {
enableBodyScroll(el)
}
}