Commit b36f9fb3 authored by Tomas Vik's avatar Tomas Vik

Removing unnecessary on render css manipulation

parent 6eaf2a60
Pipeline #49466098 failed with stages
in 8 minutes and 40 seconds
......@@ -168,8 +168,6 @@ var HeaderView = Marionette.ItemView.extend({
this.setupProfileMenu();
this.ui.favourite.css({ visibility: context.isLoggedIn() ? 'visible' : 'hidden' });
this.ui.favourite.toggleClass('favourite', !!this.model.get('favourite'));
var topicEl = this.ui.topic[0];
if (topicEl) {
autolink(topicEl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment