Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beta.ordbok.uib.no
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Språksamlingane
beta.ordbok.uib.no
Commits
13322c36
Commit
13322c36
authored
4 years ago
by
Ole Voldsæter
Browse files
Options
Downloads
Patches
Plain Diff
tillater /{lemma} på slutten av artikkel-url for å gjøre dem mer lesbare
parent
4cbb7ebf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/App.vue
+1
-1
1 addition, 1 deletion
src/App.vue
src/main.js
+1
-1
1 addition, 1 deletion
src/main.js
with
2 additions
and
2 deletions
src/App.vue
+
1
−
1
View file @
13322c36
...
@@ -154,7 +154,7 @@ export default {
...
@@ -154,7 +154,7 @@ export default {
this
.
$refs
.
search
.
value
=
''
this
.
$refs
.
search
.
value
=
''
document
.
activeElement
.
blur
()
document
.
activeElement
.
blur
()
if
(
event
.
body
){
if
(
event
.
body
){
this
.
$router
.
push
(
'
/
'
+
event
.
dictionary
+
'
/
'
+
event
.
article_id
+
'
#
'
+
event
.
match
)
this
.
$router
.
push
(
'
/
'
+
event
.
dictionary
+
'
/
'
+
event
.
article_id
+
'
/
'
+
event
.
match
)
this
.
search_results
=
[]
this
.
search_results
=
[]
this
.
article
=
event
this
.
article
=
event
history
.
replaceState
({
article
:
this
.
article
,
search_results
:
this
.
search_results
,
lang
:
this
.
lang
},
''
)
history
.
replaceState
({
article
:
this
.
article
,
search_results
:
this
.
search_results
,
lang
:
this
.
lang
},
''
)
...
...
This diff is collapsed.
Click to expand it.
src/main.js
+
1
−
1
View file @
13322c36
...
@@ -21,7 +21,7 @@ const router = new VueRouter({
...
@@ -21,7 +21,7 @@ const router = new VueRouter({
component
:
App
},
// No props, no nothing
component
:
App
},
// No props, no nothing
{
{
name
:
'
lookup
'
,
name
:
'
lookup
'
,
path
:
'
/:lang/:id(
\\
d+)
'
,
path
:
'
/:lang/:id(
\\
d+)
/:lemma?
'
,
component
:
App
,
component
:
App
,
props
:
true
},
// Pass route.params to props
props
:
true
},
// Pass route.params to props
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment