Commit 173f4c41 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1724968: Fix for jumping page titles in SmartEvidence using js"

parents 17db6ffc e46ef969
......@@ -368,6 +368,9 @@ jQuery(function($) {
var id ='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');
state = 'closed';
Markdown is supported
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