* is_mobile evaluation is wrong here, since we're -1 or 0 if not / undetected; so...
[citadel.git] / webcit / roomops.c
index a60efb03efe126071902521b440236bc56f1139f..d3dab03892f2a8396169f7bc040a53e749f83e37 100644 (file)
@@ -475,7 +475,7 @@ void embed_room_banner(char *got, int navbar_style) {
  
        do_template("roombanner", NULL);
        /* roombanner contains this for mobile */
-       if (navbar_style != navbar_none && !WC->is_mobile) { 
+       if (navbar_style != navbar_none && (WC->is_mobile < 1)) { 
 
                wc_printf("<div id=\"navbar\"><ul>");