Introduction
Introduction Statistics Contact Development Disclaimer Help
datatable.css: don't select column text on click - jscancer - Javascript crap (…
git clone git://git.codemadness.org/jscancer
Log
Files
Refs
README
LICENSE
---
commit c10fa95f745654bad952db1a1467fcadc6d9f0c9
parent f263a504ddcd4bcfbeca9bc73d2461b724e896d6
Author: Hiltjo Posthuma <[email protected]>
Date: Thu, 2 Jun 2016 18:57:40 +0200
datatable.css: don't select column text on click
Diffstat:
M datatable/datatable.css | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/datatable/datatable.css b/datatable/datatable.css
@@ -3,6 +3,15 @@ table.datatable {
border-collapse: collapse;
}
+table.datatable tr th {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
table.datatable tr td,
table.datatable tr th {
border: 1px solid #aaa;
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.