* refactor codes.

This commit is contained in:
Catouse
2019-04-16 11:29:01 +08:00
parent 3b8f222328
commit e8420fc3a7
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ $(document).on('change', 'select', function()
var tbody = $(this).closest('tr').parent();
var value = '';
for(i = row - 1; i >= 0; i--)
for(var i = row - 1; i >= 0; i--)
{
value = tbody.children('tr').eq(i).find('td').eq(index).find('select').val();
if(value != 'ditto') break;
+5 -5
View File
@@ -1,8 +1,8 @@
/**
* Switch account
*
* @param string $account
* @param string $method
* Switch account
*
* @param string $account
* @param string $method
* @access public
* @return void
*/
@@ -34,7 +34,7 @@ function switchAccount(account, method)
}
var mailsuffix = '';
var account = new Array();
var account = [];
function setDefaultEmail(num)
{
var mailValue = $('.email_' + num).val();