Commit 205ec83e authored by Marcel Rieger's avatar Marcel Rieger
Browse files

Fix scroll bug.

parent d0b46182
......@@ -26,6 +26,7 @@
.vispa-nav {
z-index: 1;
border-radius: 0px;
}
.vispa-header-logo {
......
......@@ -174,11 +174,6 @@ var Vispa = Emitter.extend({
self.emit("resize", dimensions);
});
// fix scrolling
$(window).on("scroll", function() {
$(window).scrollTop(0);
})
// bind to workspace events to toggle certain icon
var toggleIcons = function() {
var count = 0;
......
^## sites/index.mako
## sites/index.mako
<%! import os.path%>
<%! from vispa import url %>
......@@ -184,7 +184,7 @@
## Main GUI Markup
<!-- nav -->
<nav role="navigation" class="navbar navbar-fixed-top navbar-inverse vispa-nav">
<nav role="navigation" class="navbar navbar-inverse vispa-nav">
<ul class="nav navbar-nav navbar-left" id="navbar-left">
<li>
<img class="vispa-header-logo" src="${url.static('img/vispa/header_ball_margin.png')}" />
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment