Permalink
Browse files

fix(dialog-renderer): let click events bubble

  • Loading branch information...
StrahilKazlachev committed Mar 26, 2017
1 parent fdaf49e commit 6a03bbd5168d12b20658b36989479b980f20d59a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/dialog-renderer.ts
View
@@ -160,8 +160,8 @@ export class DialogRenderer implements Renderer {
dialogController.cancel();
return;
}
- if (e && typeof e.stopPropagation === 'function') {
- e.stopPropagation();
+ if (e && typeof e.preventDefault === 'function') {
+ e.preventDefault();
}
return false;
};

0 comments on commit 6a03bbd

Please sign in to comment.