fixed menu icon display

This commit is contained in:
John Mitchell
2015-06-10 14:42:39 -04:00
parent 0ee9dea3f0
commit c28eab6206
3 changed files with 4 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ export default function() {
scope.$on('$destroy', function() { scope.$on('$destroy', function() {
contents.remove(); contents.remove();
$(".MenuItem--socketStatus").remove();
}); });
} }
}; };

View File

@@ -1,7 +1,8 @@
<a href="#portal" title="Portal" class="MenuItem MenuItem--hoverable"> <a href="#portal" title="Portal" class="MenuItem MenuItem--hoverable">
Portal Portal
</a> </a>
<a link-to="userEdit" model="{ user_id: currentUser }" class="MenuItem MenuItem--right MenuItem--fixed MenuItem-username"> <web-socket-status class="MenuItem MenuItem--socketStatus MenuItem--right MenuItem--fixed"></web-socket-status>
<a link-to="userEdit" model="{ user_id: currentUser }" class="MenuItem MenuItem--fixed MenuItem-username">
<i class="MenuItem-icon MenuItem-icon--labelled"> <i class="MenuItem-icon MenuItem-icon--labelled">
<aw-icon name="User"></aw-icon> <aw-icon name="User"></aw-icon>
</i> </i>

View File

@@ -8,8 +8,8 @@ export default function() {
scope.$on('$destroy', function() { scope.$on('$destroy', function() {
contents.remove(); contents.remove();
$(".MenuItem--socketStatus").remove();
}); });
} }
}; };
} }