Toggle share boxes only on successful requests
git-svn-id: http://yourls.googlecode.com/svn/trunk@684 12232710-3e20-11de-b438-597f59cd7555
This commit is contained in:
parent
46afd401e0
commit
2e106c666e
@ -39,11 +39,10 @@ function add() {
|
||||
$('#nourl_found').css('display', 'none');
|
||||
zebra_table();
|
||||
increment();
|
||||
toggle_share_fill_boxes( data.url.url, data.shorturl, data.url.title );
|
||||
}
|
||||
|
||||
reset_url();
|
||||
toggle_share_fill_boxes( data.url.url, data.shorturl, data.url.title );
|
||||
|
||||
end_loading("#add-button");
|
||||
end_disable("#add-button");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user