diff --git a/admin/file-upload-js.php b/admin/file-upload-js.php index 57185e88..daa6f2df 100644 --- a/admin/file-upload-js.php +++ b/admin/file-upload-js.php @@ -38,7 +38,7 @@ $(document).ready(function() { .html('' + '' + data.title + ' ' + data.bits - + ' ' + + '' + + ' ' + ' ×') .effect('highlight', '#AACB36', 1000); diff --git a/var/Widget/Upload.php b/var/Widget/Upload.php index d2d1cb39..db6d2cf5 100644 --- a/var/Widget/Upload.php +++ b/var/Widget/Upload.php @@ -318,6 +318,7 @@ class Widget_Upload extends Widget_Abstract_Contents implements Widget_Interface 'url' => $this->attachment->url, 'permalink' => $this->permalink )) . ');'; + return; } } } @@ -377,6 +378,7 @@ class Widget_Upload extends Widget_Abstract_Contents implements Widget_Interface 'url' => $this->attachment->url, 'permalink' => $this->permalink )) . ');'; + return; } } }