mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 01:09:22 +02:00
phantomjs doesn't support FocusEvent, moving back to makeEvent
This commit is contained in:
@@ -85,7 +85,7 @@ describe('d3.combobox', function() {
|
||||
//
|
||||
function focusTypeahead(input) {
|
||||
input.node().focus();
|
||||
d3.customEvent(new FocusEvent('focus'), input.on('focus.typeahead'));
|
||||
d3.customEvent(happen.makeEvent('focus'), input.on('focus.typeahead'));
|
||||
}
|
||||
|
||||
it('adds the combobox-input class', function() {
|
||||
|
||||
Reference in New Issue
Block a user