Adds missing whitespace before JS-inserted user panel badges
authorMatthias Schmidt <gravatronics@live.com>
Fri, 3 May 2013 08:20:18 +0000 (10:20 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 3 May 2013 08:20:18 +0000 (10:20 +0200)
wcfsetup/install/files/js/WCF.js

index f6d799849e59b2c994637b4a655b274d88e2b55b..21724f65c843019e3909f916d8762a4801f28ded 100755 (executable)
@@ -7854,6 +7854,7 @@ WCF.UserPanel = Class.extend({
                        var $badge = this._container.find('.badge');
                        if (!$badge.length) {
                                $badge = $('<span class="badge badgeInverse" />').appendTo(this._container.children('.dropdownToggle'));
+                               $badge.before(' ');
                        }
                        $badge.html(data.returnValues.totalCount);