mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Fixed spacing to make it consistent throughout project
This commit is contained in:
parent
8ed5d6a9d5
commit
ada937ab1e
12 changed files with 29 additions and 30 deletions
6
lib/vendor/S3.class.php
vendored
6
lib/vendor/S3.class.php
vendored
|
@ -876,10 +876,10 @@ class S3
|
||||||
$rest->setHeader('Content-Type', 'application/xml');
|
$rest->setHeader('Content-Type', 'application/xml');
|
||||||
$rest = $rest->getResponse();
|
$rest = $rest->getResponse();
|
||||||
|
|
||||||
if ($rest->error === false && $rest->code !== 200)
|
if ($rest->error === false && $rest->code !== 200) {
|
||||||
$rest->error = array('code' => $rest->code, 'message' => 'Unexpected HTTP status');
|
$rest->error = array('code' => $rest->code, 'message' => 'Unexpected HTTP status');
|
||||||
if ($rest->error !== false)
|
}
|
||||||
{
|
if ($rest->error !== false) {
|
||||||
self::__triggerError(sprintf("S3::setBucketRedirect({$bucket}, {$location}): [%s] %s",
|
self::__triggerError(sprintf("S3::setBucketRedirect({$bucket}, {$location}): [%s] %s",
|
||||||
$rest->error['code'], $rest->error['message']), __FILE__, __LINE__);
|
$rest->error['code'], $rest->error['message']), __FILE__, __LINE__);
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -24,7 +24,6 @@ function submitEditForm(){
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
else if (!validateEmailIsNotGooglePlus(email)) {
|
else if (!validateEmailIsNotGooglePlus(email)) {
|
||||||
|
|
||||||
$('#email').addClass('error_form');
|
$('#email').addClass('error_form');
|
||||||
if (is_first_time) {
|
if (is_first_time) {
|
||||||
$('#email').addClass('error_form');
|
$('#email').addClass('error_form');
|
||||||
|
|
Loading…
Add table
Reference in a new issue