Show More
@@ -129,8 +129,7 define(["notebook/js/widget"], function(widget_manager) { | |||
|
129 | 129 | |
|
130 | 130 | this.$window.show(); |
|
131 | 131 | this.$window.css("positon", "absolute") |
|
132 | this.$window.css("top", Math.max(0, (($('body').outerHeight() - this.$window.outerHeight()) / 2) + | |
|
133 | $(window).scrollTop()) + "px"); | |
|
132 | this.$window.css("top", "0px"); | |
|
134 | 133 | this.$window.css("left", Math.max(0, (($('body').outerWidth() - this.$window.outerWidth()) / 2) + |
|
135 | 134 | $(window).scrollLeft()) + "px"); |
|
136 | 135 | }, |
General Comments 0
You need to be logged in to leave comments.
Login now