Fix kfet navbar on small devices

This commit is contained in:
Aurélien Delobelle 2017-09-03 14:42:38 +02:00
parent 1d9310236b
commit fb5ba5fb1b
2 changed files with 24 additions and 5 deletions

View file

@ -74,10 +74,10 @@ OpenKfet.prototype = {
if (this.admin) {
this.add_class(this.admin_status);
if (this.force_close) {
this.dom.warning.addClass('in');
this.dom.warning.show().addClass('in');
this.dom.force_close_btn.html(this.force_text['deactivate']);
} else {
this.dom.warning.removeClass('in');
this.dom.warning.removeClass('in').hide();
this.dom.force_close_btn.html(this.force_text['activate']);
}
}