Disable help animations in IE since weird crap happens to aliasing with opacity animations
This commit is contained in:
@@ -864,6 +864,9 @@
|
|||||||
|
|
||||||
|
|
||||||
hide: function() {
|
hide: function() {
|
||||||
|
if ( $.browser.msie ) {
|
||||||
|
$('#gollum-editor-help').css('display', 'none');
|
||||||
|
} else {
|
||||||
$('#gollum-editor-help').animate({
|
$('#gollum-editor-help').animate({
|
||||||
opacity: 0
|
opacity: 0
|
||||||
}, 200,
|
}, 200,
|
||||||
@@ -871,9 +874,15 @@
|
|||||||
$('#gollum-editor-help')
|
$('#gollum-editor-help')
|
||||||
.animate({ height: 'hide' }, 200);
|
.animate({ height: 'hide' }, 200);
|
||||||
});
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
show: function() {
|
show: function() {
|
||||||
|
if ( $.browser.msie ) {
|
||||||
|
// bypass effects for internet explorer, since it does weird crap
|
||||||
|
// to text antialiasing with opacity animations
|
||||||
|
$('#gollum-editor-help').css('display', 'block');
|
||||||
|
} else {
|
||||||
$('#gollum-editor-help').animate({
|
$('#gollum-editor-help').animate({
|
||||||
height: 'show'
|
height: 'show'
|
||||||
}, 200,
|
}, 200,
|
||||||
@@ -881,6 +890,7 @@
|
|||||||
$('#gollum-editor-help')
|
$('#gollum-editor-help')
|
||||||
.animate({ opacity: 1 }, 300);
|
.animate({ opacity: 1 }, 300);
|
||||||
});
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user