Fix typo [skip ci]
This commit is contained in:
parent
7a93a9f915
commit
c2db169b4a
|
@ -6,7 +6,7 @@
|
||||||
for name, tab of tabs
|
for name, tab of tabs
|
||||||
equal($("#tab_#{name} a").attr('href'), tab.href, "#{name} tab should link to #{tab.href}") unless tab.hidden
|
equal($("#tab_#{name} a").attr('href'), tab.href, "#{name} tab should link to #{tab.href}") unless tab.hidden
|
||||||
equal($("#tab_#{name}").hasClass('active'), !!tab.active, "#{name} tab should #{'not' unless tab.active} be active")
|
equal($("#tab_#{name}").hasClass('active'), !!tab.active, "#{name} tab should #{'not' unless tab.active} be active")
|
||||||
equal($("#tab_#{name}").hasClass('display-inline'), !tab.hidden, "#{name} tab should has class display-inline") if name in ['build', 'job']
|
equal($("#tab_#{name}").hasClass('display-inline'), !tab.hidden, "#{name} tab should have class display-inline") if name in ['build', 'job']
|
||||||
|
|
||||||
@displaysSummaryBuildLink = (link, number) ->
|
@displaysSummaryBuildLink = (link, number) ->
|
||||||
element = $('#summary .number a')
|
element = $('#summary .number a')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user