Skip to content

Commit

Permalink
chore(tap): commenting out console.log()
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygovier committed Sep 26, 2014
1 parent cffe631 commit 10068e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/utils/tap.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ function tapClick(e) {

var c = ionic.tap.pointerCoord(e);

console.log('tapClick', e.type, ele.tagName, '('+c.x+','+c.y+')');
//console.log('tapClick', e.type, ele.tagName, '('+c.x+','+c.y+')');
triggerMouseEvent('click', ele, c.x, c.y);

// if it's an input, focus in on the target, otherwise blur
Expand All @@ -329,7 +329,7 @@ function tapClickGateKeeper(e) {
// do not allow through any click events that were not created by ionic.tap
if( (ionic.scroll.isScrolling && ionic.tap.containsOrIsTextInput(e.target) ) ||
(!e.isIonicTap && !ionic.tap.requiresNativeClick(e.target)) ) {
console.log('clickPrevent', e.target.tagName);
//console.log('clickPrevent', e.target.tagName);
e.stopPropagation();

if( !ionic.tap.isLabelWithTextInput(e.target) ) {
Expand Down

0 comments on commit 10068e2

Please sign in to comment.