diff options
Diffstat (limited to 'docs/components/angular-bootstrap/bootstrap-prettify.js')
| -rw-r--r-- | docs/components/angular-bootstrap/bootstrap-prettify.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/components/angular-bootstrap/bootstrap-prettify.js b/docs/components/angular-bootstrap/bootstrap-prettify.js index dc2a34e2..ad5340e5 100644 --- a/docs/components/angular-bootstrap/bootstrap-prettify.js +++ b/docs/components/angular-bootstrap/bootstrap-prettify.js @@ -228,7 +228,7 @@ directive.ngEmbedApp = ['$templateCache', '$browser', '$rootScope', '$location', }]); if (attrs.ngEmbedApp) modules.push(attrs.ngEmbedApp); - element.bind('click', function(event) { + element.on('click', function(event) { if (event.target.attributes.getNamedItem('ng-click')) { event.preventDefault(); } |
