Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pierre-Yves Gicquel
albiziapp
Commits
6076dcf2
Commit
6076dcf2
authored
Jun 21, 2019
by
elplauto
Browse files
no back
parent
4830c1cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main.js
View file @
6076dcf2
...
...
@@ -83,6 +83,18 @@ const i18n = new VueI18n({
messages
})
function
noBack
(){
window
.
history
.
forward
()
}
noBack
();
window
.
onload
=
noBack
;
window
.
onpageshow
=
function
(
evt
){
if
(
evt
.
persisted
)
{
noBack
()
}
}
window
.
onunload
=
function
(){
void
(
0
)}
new
Vue
({
el
:
'
#app
'
,
i18n
,
...
...
Write
Preview
Supports
Markdown
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