Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vue-shufflejs-plugin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
vue-shufflejs-plugin
Commits
76146873
Commit
76146873
authored
Sep 28, 2018
by
Marc Mautz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed "window.location" handling
parent
3aec8a11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
VueShuffleNavbar.vue
src/components/VueShuffleNavbar.vue
+2
-2
No files found.
src/components/VueShuffleNavbar.vue
View file @
76146873
...
@@ -111,8 +111,8 @@
...
@@ -111,8 +111,8 @@
* Check if url query params set & update filter selection
* Check if url query params set & update filter selection
*/
*/
checkUrlQueryParams
()
{
checkUrlQueryParams
()
{
if
(
window
.
location
.
hash
.
length
&&
window
.
location
.
hash
.
indexOf
(
'?'
)
!==
-
1
)
{
if
(
(
window
.
location
.
hash
.
length
&&
window
.
location
.
hash
.
indexOf
(
'?'
)
!==
-
1
)
||
(
window
.
location
.
search
.
length
&&
window
.
location
.
search
.
indexOf
(
'?'
)
!==
-
1
)
)
{
const
qs
=
window
.
location
.
hash
.
split
(
'?'
)[
1
]
const
qs
=
window
.
location
.
hash
.
split
(
'?'
)[
1
]
||
window
.
location
.
search
.
split
(
'?'
)[
1
]
this
.
queryStrings
=
this
.
parseQueryString
(
qs
)
this
.
queryStrings
=
this
.
parseQueryString
(
qs
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
updateFilters
()
this
.
updateFilters
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment