summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/mixins/SharesMixin.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/mixins/SharesMixin.js')
-rw-r--r--apps/files_sharing/src/mixins/SharesMixin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/mixins/SharesMixin.js b/apps/files_sharing/src/mixins/SharesMixin.js
index b76b72cebe9..5f973bf63cf 100644
--- a/apps/files_sharing/src/mixins/SharesMixin.js
+++ b/apps/files_sharing/src/mixins/SharesMixin.js
@@ -221,7 +221,7 @@ export default {
*
* @param {Date} date
*/
- onExpirationChange: debounce((date) => {
+ onExpirationChange: debounce(function(date) {
this.share.expireDate = this.formatDateToString(new Date(date))
}, 500),
/**