upload file icon in composer was visible even when uploads were disabled

This commit is contained in:
Baris Soner Usakli
2014-01-15 02:33:20 -05:00
parent 82bc0aec6b
commit cd4cb240c8
2 changed files with 4 additions and 5 deletions

View File

@@ -178,7 +178,7 @@ var ajaxify = {};
} else if (window.location.pathname !== '/outgoing') {
// External Link
if (config.useOutgoingLinksPage == true) {
if (config.useOutgoingLinksPage) {
ajaxify.go('outgoing?url=' + encodeURIComponent(this.href));
e.preventDefault();
}