0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-22 01:07:56 +01:00

Prevent magnifying glass from appearing on iPad.

Cancel wordart on click/tap outside dialog popup.
This commit is contained in:
Wouter R 2014-01-15 17:52:30 +01:00
parent 97201587c0
commit e8c9932014
2 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,8 @@
var onTouchStart = function(e) {
updateCursor(e);
startDownTimer();
$(element).trigger("onButtonClick",{x:_x,y:_y});
e.preventDefault();
}
var onTouchEnd = function(e) {

View File

@ -8,11 +8,13 @@ function initWordArt() {
function showWordArtDialog() {
buttonGroupAdd.hide();
showPopup(popupWordArt);
$("#popupMask").bind("click", onWordArtCancel);
$("#txtWordArt").focus();
$("#txtWordArt").val(""); //clear textbox
}
function onWordArtCancel() {
$("#popupMask").unbind("click");
hidePopup(popupWordArt);
}