|
@@ -1129,20 +1129,14 @@
|
|
|
$(this).data('clicks', !clicks)
|
|
|
})
|
|
|
|
|
|
- //Handle starring for glyphicon and font awesome
|
|
|
+ //Handle starring for font awesome
|
|
|
$('.mailbox-star').click(function (e) {
|
|
|
e.preventDefault()
|
|
|
//detect type
|
|
|
var $this = $(this).find('a > i')
|
|
|
- var glyph = $this.hasClass('glyphicon')
|
|
|
var fa = $this.hasClass('fa')
|
|
|
|
|
|
//Switch states
|
|
|
- if (glyph) {
|
|
|
- $this.toggleClass('glyphicon-star')
|
|
|
- $this.toggleClass('glyphicon-star-empty')
|
|
|
- }
|
|
|
-
|
|
|
if (fa) {
|
|
|
$this.toggleClass('fa-star')
|
|
|
$this.toggleClass('fa-star-o')
|