Skip to content

Commit dcd0711

Browse files
committed
Using mousedown for now
1 parent a1fcc84 commit dcd0711

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "proceds-blockly",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"homepage": "https://github.com/Program-AR/proceds-blockly",
55
"authors": [
66
"Alf Sanzo <[email protected]>"

proceds-blockly.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function initProcedsBlockly(customStatementType) {
5151

5252
var self = this;
5353
if (this.clickHandler_) // [!]
54-
this.imageElement_.addEventListener("click", function(event) {
54+
this.imageElement_.addEventListener("mousedown", function(event) {
5555
if (event.button === 0) {
5656
self.clickHandler_();
5757
}

0 commit comments

Comments
 (0)