From 868a0012150595f59551bbf32000cfd42d51f92a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo?= Date: Sat, 10 Apr 2021 16:56:16 -0300 Subject: [PATCH] style(src): fix comment typo --- src/context_menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context_menu.js b/src/context_menu.js index af8a81bc..402062fa 100644 --- a/src/context_menu.js +++ b/src/context_menu.js @@ -167,7 +167,7 @@ export default class ContextMenuPlugin extends UICorePlugin { const currentTime = Math.floor(this.container.getCurrentTime()) /* eslint-disable no-useless-escape */ - if (window.location.search === '') { // if dont exist any query string + if (window.location.search === '') { // if don't exist any query string url += `?t=${currentTime}` } else if (window.location.search.split(/[\?=&]/g).indexOf('t') === -1) { // if exist query string but not the resume at url += `&t=${currentTime}`