Skip to content

Commit

Permalink
style(src): fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopaulovieira committed Apr 10, 2021
1 parent 16931ca commit 868a001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context_menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
Expand Down

0 comments on commit 868a001

Please sign in to comment.