From 6379e024a6e208a88fa3f55dc9818ed4375a967e Mon Sep 17 00:00:00 2001 From: czaks Date: Mon, 21 Apr 2014 01:19:34 +0200 Subject: [PATCH] compact-boardlist.js: allow direct board links --- js/compact-boardlist.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/compact-boardlist.js b/js/compact-boardlist.js index e5add303..89687977 100644 --- a/js/compact-boardlist.js +++ b/js/compact-boardlist.js @@ -54,6 +54,11 @@ if (device_type == 'desktop') { $('') .appendTo(topbl) } + else if (item.name.match(/^d_/)) { + var icon = item.name.replace(/^d_/, '') + $(''+icon+'') + .appendTo(topbl) + } else { $(""+item.name+"") .appendTo(topbl)