summaryrefslogtreecommitdiff
path: root/data/speeddial-head.html
diff options
context:
space:
mode:
authorPaweł Forysiuk <tuxator@o2.pl>2012-09-12 14:12:08 +0200
committerChristian Dywan <christian@twotoasts.de>2012-09-12 14:12:08 +0200
commit0322056942ce88b4470593cdf6b457bb5889cca5 (patch)
tree7768adb251fc4bdcb0eb4d48ddf3870f689043ed /data/speeddial-head.html
parent24dc3a28aeb5ec2c8fe272227b7e0c015547a12c (diff)
downloadmidori-0322056942ce88b4470593cdf6b457bb5889cca5.tar.gz
Drop dialing from keyboard in speed dial for now
Diffstat (limited to 'data/speeddial-head.html')
-rw-r--r--data/speeddial-head.html51
1 files changed, 0 insertions, 51 deletions
diff --git a/data/speeddial-head.html b/data/speeddial-head.html
index 7e7f2172..b40fbb7a 100644
--- a/data/speeddial-head.html
+++ b/data/speeddial-head.html
@@ -114,22 +114,6 @@
display:none;
}
- div.osd {
- top: 9px;
- position: fixed;
- width: 100%;
- text-align: right;
- }
-
- div.osd span {
- border: 1px solid #999;
- background-color: #f5f5f5;
- padding: 8px;
- color: #999;
- -webkit-border-bottom-left-radius: 10px;
- visibility: hidden;
- }
-
.selected {
outline: 1px dotted black;
background-color: #eef;
@@ -171,38 +155,6 @@
console.log ("speed_dial-save-delete " + id);
}
- var key_id = 's';
- var key_timeout;
-
- document.onkeypress = function ()
- {
- key_id = key_id + String.fromCharCode (event.which);
-
- clearTimeout (key_timeout);
-
- document.getElementById('dialing').innerText = key_id.substr(1);
- document.getElementById('dialing').style.visibility = 'visible';
-
- var div = document.getElementById(key_id);
- if (div)
- {
- if (key_id.substr(1) > 9)
- {
- if (getAction (key_id))
- document.location = div.childNodes[0].childNodes[1].href;
- key_id = 's';
- }
- else
- key_timeout = setTimeout ('if (getAction (key_id)) document.location = document.getElementById(key_id).childNodes[0].childNodes[1].href; key_id = \'s\'', 1000);
- }
- else
- key_id = 's';
-
- if (key_id.length <= 1)
- document.getElementById('dialing').style.visibility = 'hidden';
-
- return false;
- }
var firstNode, secondNode;
var cursor;
@@ -273,7 +225,4 @@
</script>
</head>
<body>
- <div class="osd" >
- <span id="dialing"></span>
- </div>
<div id="content">