summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2011-11-30 08:09:21 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2011-11-30 08:09:21 (GMT)
commit29ed77dc1574b24a341dbac8070c439c1e534e1d (patch)
tree4d7fae47b5a7de0e19d1337ef1848b267678797e
parent8e79964ae66d1b8bcfd0ec9fad8f2d57e9801771 (diff)
downloadtabellio.webviews-29ed77dc1574b24a341dbac8070c439c1e534e1d.zip
tabellio.webviews-29ed77dc1574b24a341dbac8070c439c1e534e1d.tar.gz
tabellio.webviews-29ed77dc1574b24a341dbac8070c439c1e534e1d.tar.bz2
do not force position and top for pcfnav (#1046)
-rw-r--r--tabellio/webviews/pcfnav.pt5
1 files changed, 1 insertions, 4 deletions
diff --git a/tabellio/webviews/pcfnav.pt b/tabellio/webviews/pcfnav.pt
index 7dd5f78..ab8eb36 100644
--- a/tabellio/webviews/pcfnav.pt
+++ b/tabellio/webviews/pcfnav.pt
@@ -44,10 +44,7 @@
current_section = $('#menu .selected').offset();
$('#menu .selected').prepend('<span id="navmarker"'+'><'+'/span>');
$('#navmarker').click(function() { $('#pcf-top-nav').toggle(); });
- console.log(current_section);
- $('#pcf-top-nav').hide().css('position', 'absolute'
- ).css('top', current_section.top+40
- ).css('left', current_section.left-50);
+ $('#pcf-top-nav').hide().css('left', current_section.left-50);
})(jQuery);
</script>