diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-02-24 15:04:45 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-02-24 15:04:45 +0100 |
commit | 5e3b9c5ec1b9364cd41564ac8f319e1ffd9ee4ea (patch) | |
tree | f288c7d0ea486e10ec0cb13f1b8f55e6237ca7e4 | |
parent | 3ab33f728f61b12f85a6067d02610c2b5142a4a5 (diff) |
Don't select text on drag. Use mouse cursors.
-rw-r--r-- | munia.html | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -2,6 +2,18 @@ <html lang="en"> <head> <title>Munia</title> +<style> +body { +-webkit-touch-callout: none; +-webkit-user-select: none; +-khtml-user-select: none; +-moz-user-select: none; +-ms-user-select: none; +-o-user-select: none; +user-select: none; +cursor: default; +} +</style> </head> <body id="body"> <select id="color" onchange="update_color();"> @@ -156,6 +168,7 @@ try { else if (i[0] == "add") { var task = document.createElement("div"); task.name = "task"; + task.style.cursor = "move"; task.id = "task_" + i[1]; var taskText = document.createTextNode(i[2] + ": " + i[3] + " :" + task.id); |