Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
fix(module-selector): fix module not switching on browser other than …
Browse files Browse the repository at this point in the history
…chrome
  • Loading branch information
jpsc committed Jul 27, 2016
1 parent 2b1ce60 commit 4123482
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/module-selector/module-selector.tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<label class="module-selector-label" for="selector">
<span class="a11y-sr-only">Module</span>
<select class="module-selector-select" id="selector" name="selector" oninput="{ onModuleSelect }">
<select class="module-selector-select" id="selector" name="selector" onchange="{ onModuleSelect }">
<yield/>
<optgroup each="{ groupName, modules in moduleGroups }" label="{ groupName }">
<option each="{ module in modules }" value="{ module.url }"
Expand Down Expand Up @@ -59,6 +59,7 @@
}

function onModuleSelect(event) {
console.log('ere');
selectByUrl(event.target.value);
}

Expand Down

0 comments on commit 4123482

Please sign in to comment.