summaryrefslogtreecommitdiff
path: root/munia.html
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-02-24 15:04:45 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-02-24 15:04:45 +0100
commit5e3b9c5ec1b9364cd41564ac8f319e1ffd9ee4ea (patch)
treef288c7d0ea486e10ec0cb13f1b8f55e6237ca7e4 /munia.html
parent3ab33f728f61b12f85a6067d02610c2b5142a4a5 (diff)
Don't select text on drag. Use mouse cursors.
Diffstat (limited to 'munia.html')
-rw-r--r--munia.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/munia.html b/munia.html
index 46feb61..3f95443 100644
--- a/munia.html
+++ b/munia.html
@@ -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);