mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
New HiDPI spinner. Uses clean <span class="spinner"></span> markup.
Be on the lookout for weirdness. props lessbloat. see #21456. git-svn-id: https://develop.svn.wordpress.org/trunk@22019 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -368,7 +368,7 @@ commentReply = {
|
||||
$('#replycontent').css('height', '').val('');
|
||||
$('#edithead input').val('');
|
||||
$('.error', replyrow).html('').hide();
|
||||
$('.waiting', replyrow).hide();
|
||||
$('.spinner', replyrow).hide();
|
||||
|
||||
this.cid = '';
|
||||
},
|
||||
@@ -451,7 +451,7 @@ commentReply = {
|
||||
var post = {};
|
||||
|
||||
$('#replysubmit .error').hide();
|
||||
$('#replysubmit .waiting').show();
|
||||
$('#replysubmit .spinner').show();
|
||||
|
||||
$('#replyrow input').not(':button').each(function() {
|
||||
var t = $(this);
|
||||
@@ -533,7 +533,7 @@ commentReply = {
|
||||
error : function(r) {
|
||||
var er = r.statusText;
|
||||
|
||||
$('#replysubmit .waiting').hide();
|
||||
$('#replysubmit .spinner').hide();
|
||||
|
||||
if ( r.responseText )
|
||||
er = r.responseText.replace( /<.[^<>]*?>/g, '' );
|
||||
|
||||
Reference in New Issue
Block a user