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 {
|
#timeline > img {
|
||||||
height: 64px;
|
height: 64px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu {
|
#menu {
|
||||||
|
|
2
icf.js
2
icf.js
|
@ -208,7 +208,7 @@ loadText(function() {
|
||||||
hashchange()
|
hashchange()
|
||||||
loadTimeline(function() {
|
loadTimeline(function() {
|
||||||
window.addEventListener('resize', renderTimeline)
|
window.addEventListener('resize', renderTimeline)
|
||||||
timeline.addEventListener('mousedown', function() {
|
timeline.addEventListener('dragstart', function() {
|
||||||
return false
|
return false
|
||||||
})
|
})
|
||||||
timeline.addEventListener('mouseenter', start)
|
timeline.addEventListener('mouseenter', start)
|
||||||
|
|
Loading…
Reference in a new issue