Skip to content

Commit 27725d3

Browse files
author
Tim Berners-Lee
committed
add close button to test
1 parent 053ddc7 commit 27725d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/test-tabs.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ document.addEventListener('DOMContentLoaded', function () {
4848
options.subject = kb.the(target, UI.ns.ui('subject'))
4949
options.ordered = kb.the(target, UI.ns.ui('ordered')).value === '1'
5050
options.orientation = kb.the(target, UI.ns.ui('orientation')).value
51-
51+
options.onClose = function(e) {} // Test it can make a close button is a good place
52+
// todo: test both cases
5253
var tabs = div.appendChild(UI.tabs.tabWidget(options))
5354
return tabs
5455
}

0 commit comments

Comments
 (0)