Ensure we trim the footer content

This commit is contained in:
Johannes Zellner
2020-03-06 18:21:34 -08:00
parent 038d6fe2c3
commit ffc2507362

View File

@@ -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 () {