Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit b8a9d34

Browse files
committed
Better fix to icon issue in Settings.
1 parent 956c0e2 commit b8a9d34

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

css/obBase.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1931,7 +1931,6 @@ input[type="text"].txtField-bar {
19311931
margin-right: 6px;
19321932
}
19331933
1934-
.btn *[class *= "ion-"],
19351934
.btn *[class *= "ion-"]:before {
19361935
pointer-events: none; /* don't fire clicks on icon */
19371936
}

js/views/settingsVw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ module.exports = pageVw.extend({
675675
},
676676

677677
tabClick: function(e){
678-
var tab = $(e.target).data('tab');
678+
var tab = $(e.target).closest('.btn-tab').data('tab');
679679
this.setState(tab);
680680
this.addTabToHistory(tab);
681681
},

0 commit comments

Comments
 (0)