Oops jshint fail again
This commit is contained in:
parent
e600b45155
commit
48d39d2f8c
|
@ -32,9 +32,13 @@ Discourse.PopupInputTipView = Discourse.View.extend({
|
|||
bounce: function() {
|
||||
var $elem = this.$()
|
||||
if( !this.animateAttribute ) {
|
||||
this.animateAttribute = $elem.css('left') == 'auto' ? 'right' : 'left';
|
||||
this.animateAttribute = $elem.css('left') === 'auto' ? 'right' : 'left';
|
||||
}
|
||||
if( this.animateAttribute === 'left' ) {
|
||||
this.bounceLeft($elem);
|
||||
} else {
|
||||
this.bounceRight($elem);
|
||||
}
|
||||
this.animateAttribute == 'left' ? this.bounceLeft($elem) : this.bounceRight($elem);
|
||||
}.observes('show'),
|
||||
|
||||
bounceLeft: function($elem) {
|
Loading…
Reference in New Issue