mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(ionTab): stop browser-tooltip from appearing due to title attr
Closes #804
This commit is contained in:
3
js/ext/angular/src/directive/ionicTabBar.js
vendored
3
js/ext/angular/src/directive/ionicTabBar.js
vendored
@@ -365,6 +365,9 @@ function($rootScope, $animate, $ionicBind, $compile, $ionicViewService) {
|
||||
var tabsCtrl = ctrls[0],
|
||||
tabCtrl = ctrls[1];
|
||||
|
||||
//Remove title attribute so browser-tooltip does not apear
|
||||
$element[0].removeAttribute('title');
|
||||
|
||||
$scope.selectTab = function(e) {
|
||||
e.preventDefault();
|
||||
tabsCtrl.select(tabCtrl.$scope, true);
|
||||
|
||||
Reference in New Issue
Block a user