diff options
| author | czaks <marcin@6irc.net> | 2013-12-29 04:27:53 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-12-29 04:27:53 +0100 |
| commit | 5f7db88a2d75462c7dbb3c8abea7b60c6d2e5997 (patch) | |
| tree | fd1561378241ea1180c0c79981c0e5664a3525a0 /js/watch.js | |
| parent | cf0c7c86adcefde90be04baed1c0dcae9e0b24a5 (diff) | |
watch.js and post-hover.js integrations
Diffstat (limited to 'js/watch.js')
| -rw-r--r-- | js/watch.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/watch.js b/js/watch.js index cda38ee7..13eec82c 100644 --- a/js/watch.js +++ b/js/watch.js @@ -84,7 +84,7 @@ $(function(){ for (var i in st) { if (is_pinned(st[i])) { var link; - if (bl.find('[href*="/'+i+'/"]:not(.cb-menuitem)').length) link = bl.find('[href*="/'+i+'/"]').first(); + if (bl.find('[href*="/'+i+'/index.html"]:not(.cb-menuitem)').length) link = bl.find('[href*="/'+i+'/"]').first(); // TODO: fix path else link = $('<a href="/'+i+'/" class="cb-item cb-cat">/'+i+'/</a>').appendTo(pinned); @@ -126,6 +126,7 @@ $(function(){ .css("top", $(this).position().top + 13 + $(this).height()) .css("left", $(this).position().left) .css("right", "auto") + .css("font-style", "normal") .appendTo($(this)); var board = $(this).attr("data-board"); @@ -162,6 +163,9 @@ $(function(){ $(this).parent().parent().parent().mouseleave(); return false; }); + + if (typeof init_hover != "undefined") + init_hover.bind(tag[0])(); } }).mouseleave(function() { |
