ajax_canvas_field 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 016613ee17ea5c099cffd05dd8f09c9bd3d1916e
|
4
|
+
data.tar.gz: 2f36c4082f8ec81255bda07cc01fe1f3914ee572
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f09d2cf6aa8235e729281a96fd32265e4c6b3e8d9dfe63f79b523609097db9abd511bf4bf17f0b82f74fa4e68d4eeb33d0dc5ef7e13ffff0ff609ccd0fa035d
|
7
|
+
data.tar.gz: 38b0241032d585e38fde3b200431924435a9c7d4643a4f68c552c3d71c7d984744e7508c3cc2c7548cdfe8cd249b9f918c52ad195584fc42659e427e65eebcf6
|
@@ -166,13 +166,13 @@ document.addEventListener('DOMContentLoaded', function(){
|
|
166
166
|
document.getElementsByClassName('active canvas_data_field')[0].dataset.initialData = JSON.stringify(tmpData);
|
167
167
|
}
|
168
168
|
|
169
|
-
if (canvas.dataset.leftActive) {
|
169
|
+
if (canvas.dataset.leftActive == 'true') {
|
170
170
|
canvas.addEventListener('click', isPixelCollision, false);
|
171
171
|
}
|
172
|
-
if (canvas.dataset.middleActive) {
|
172
|
+
if (canvas.dataset.middleActive == 'true') {
|
173
173
|
canvas.addEventListener('auxclick', isPixelCollision, false);
|
174
174
|
}
|
175
|
-
if (canvas.dataset.rightActive) {
|
175
|
+
if (canvas.dataset.rightActive == 'true') {
|
176
176
|
canvas.addEventListener('contextmenu', isPixelCollision, false);
|
177
177
|
}
|
178
178
|
initCircles();
|