make timeline not draggable and not selectable

This commit is contained in:
rlx 2018-01-13 11:03:29 +01:00
parent d894978981
commit 857800e904
2 changed files with 2 additions and 1 deletions

View file

@ -76,6 +76,7 @@ em, i {
#timeline > img {
height: 64px;
position: absolute;
user-select: none;
}
#menu {

2
icf.js
View file

@ -208,7 +208,7 @@ loadText(function() {
hashchange()
loadTimeline(function() {
window.addEventListener('resize', renderTimeline)
timeline.addEventListener('mousedown', function() {
timeline.addEventListener('dragstart', function() {
return false
})
timeline.addEventListener('mouseenter', start)