make timeline not draggable and not selectable
This commit is contained in:
parent
d894978981
commit
857800e904
2 changed files with 2 additions and 1 deletions
1
icf.css
1
icf.css
|
@ -76,6 +76,7 @@ em, i {
|
|||
#timeline > img {
|
||||
height: 64px;
|
||||
position: absolute;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#menu {
|
||||
|
|
2
icf.js
2
icf.js
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue