fix in account subscription info box creation

This commit is contained in:
Anand Doshi 2012-05-01 12:23:28 +05:30
parent 220434c0ef
commit 3f6eed2dc2

View File

@ -64,7 +64,8 @@ $.extend(wn.pages.users, {
}
});
if(!$('.subscription-info').length && (wn.boot.max_users || wn.boot.expires_on)) {
var $sub_info = $('<div class="subscription-info-box"><div>').insertAfter('.help');
var $sub_info = $('<div class="subscription-info-box"><div>')
.insertAfter($(wn.pages.users).find('.help'));
if(wn.boot.max_users) {
$sub_info.append(repl('\
<span class="subscription-info"> \