Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Commit

Permalink
fix(spinner-class): add glyphicon to default spinner class, update css.
Browse files Browse the repository at this point in the history
Fixes #1893.
  • Loading branch information
Brian Chance committed Jan 25, 2017
1 parent 3642a1d commit c8f69db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions src/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -317,17 +317,10 @@ body > .ui-select-bootstrap.open {
}

/* Spinner */
.ui-select-refreshing {
.ui-select-refreshing.glyphicon {
position: absolute;
right: 0;
padding: 8px 27px;
top: 1px;
display: inline-block;
font-family: 'Glyphicons Halflings';
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing:antialiased;
}

@-webkit-keyframes ui-select-spin {
Expand Down
2 changes: 1 addition & 1 deletion src/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ var uis = angular.module('ui.select', [])
},
appendToBody: false,
spinnerEnabled: false,
spinnerClass: 'glyphicon-refresh ui-select-spin',
spinnerClass: 'glyphicon glyphicon-refresh ui-select-spin',
backspaceReset: true
})

Expand Down

0 comments on commit c8f69db

Please sign in to comment.