Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
173f4c41
Commit
173f4c41
authored
Jan 15, 2018
by
Robert Lyon
Committed by
Gerrit Code Review
Jan 15, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Bug 1724968: Fix for jumping page titles in SmartEvidence using js"
parents
17db6ffc
e46ef969
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
htdocs/module/framework/js/matrix.js
htdocs/module/framework/js/matrix.js
+3
-0
No files found.
htdocs/module/framework/js/matrix.js
View file @
173f4c41
...
...
@@ -368,6 +368,9 @@ jQuery(function($) {
var
id
=
section
.
data
(
'
standard
'
);
var
state
=
null
;
if
(
section
.
attr
(
'
aria-expanded
'
)
===
'
true
'
)
{
// Set the width of the first <th> so that the pages line doesn't jump about
var
standardnameswidth
=
$
(
this
).
next
().
find
(
'
td:nth-child(1)
'
).
outerWidth
();
$
(
'
tr:nth-child(2) th:nth-child(1)
'
).
css
(
'
width
'
,
standardnameswidth
+
'
px
'
);
section
.
attr
(
'
aria-expanded
'
,
'
false
'
);
section
.
addClass
(
'
collapsed
'
);
state
=
'
closed
'
;
...
...
Write
Preview
Markdown
is supported
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