Disabling selection on graph
This commit is contained in:
parent
0338eb1dc5
commit
6491707b24
@ -5,6 +5,7 @@
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap-theme.min.css">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
@ -55,7 +56,7 @@
|
||||
<form>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><big>Semantic tweaks to <span id="query" class="text-primary"></span></big></div>
|
||||
<div style="padding: 10px;">
|
||||
<div style="padding: 10px;" class="unselectable">
|
||||
<canvas id="grapher" width="500" height="550"></canvas><br>
|
||||
<label class="checkbox-inline">
|
||||
<input type="checkbox" id="useLocalScale" name="useLocalScale" checked="checked"> Use local scale
|
||||
|
7
client/style.css
Normal file
7
client/style.css
Normal file
@ -0,0 +1,7 @@
|
||||
.unselectable {
|
||||
-moz-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
Loading…
Reference in New Issue
Block a user