Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
e09ef36a
Commit
e09ef36a
authored
Dec 16, 2009
by
Sam Hemelryk
Browse files
lib-navigation MDL-21113 Fixed minor javascript error when positioning sidepanel tabs for display
parent
0a4abb73
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/javascript-navigation.js
View file @
e09ef36a
...
...
@@ -609,7 +609,7 @@ navigation_tab_panel.prototype.resize_tab = function () {
// This makes sure that if the panel is big it is moved up to ensure we don't
// have wasted space above the panel
if
((
tabtop
+
tabheight
)
>
screenheight
&&
tabtop
>
10
)
{
if
((
tabtop
+
tabheight
)
>
(
screenheight
+
scrolltop
)
&&
tabtop
>
10
)
{
tabtop
=
(
screenheight
-
tabheight
-
10
);
if
(
tabtop
<
10
)
{
tabtop
=
10
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment