Ensure we trim the footer content
This commit is contained in:
@@ -29,7 +29,7 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
|
||||
save: function () {
|
||||
$scope.branding.footer.busy = true;
|
||||
|
||||
Client.setFooter($scope.branding.footer.content, function (error) {
|
||||
Client.setFooter($scope.branding.footer.content.trim(), function (error) {
|
||||
if (error) return console.error('Failed to set footer.', error);
|
||||
|
||||
Client.refreshConfig(function () {
|
||||
|
||||
Reference in New Issue
Block a user