Fix avatar selection.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 23 Jul 2012 04:52:59 +0000 (06:52 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 23 Jul 2012 04:52:59 +0000 (06:52 +0200)
src/main/resources/templates/editProfile.html

index 1f03bce..f0b8b56 100644 (file)
 
                <ul id="avatar-selection">
                        <li id="no-avatar">
-                               <input type="radio" name="avatar-id" value="none"<%ifnull avatar-image> checked="checked"<%/if>/>
+                               <input type="radio" name="avatar-id" value="none"<%ifnull avatar-id> checked="checked"<%/if>/>
                                <%= Page.EditProfile.Avatar.Delete|l10n|html>
                        </li>
                        <%foreach currentSone.allImages image>