Skip to content

Commit

Permalink
pass method reference instead of result to debounce function
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy authored and backportbot-nextcloud[bot] committed Nov 29, 2023
1 parent 562f95c commit 33b0ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CallView/Grid/Grid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ export default {
// currently if the user is not on the 'first page', upon resize the
// current position in the videos array is lost (first element
// in the grid goes back to be first video)
debounce(this.makeGrid(), 200)
debounce(this.makeGrid, 200)
},

// Find the right size if the grid in rows and columns (we already know
Expand Down

0 comments on commit 33b0ff4

Please sign in to comment.