Skip to content

Commit

Permalink
parser.reset_insertion_mode expects a parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
boblail committed Jan 11, 2011
1 parent 82a722c commit 18c09b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/html5/parser/in_select_phase.js
Expand Up @@ -78,7 +78,7 @@ p.startTagSelect = function(name) {
p.endTagSelect = function(name) {
if(this.inScope('select', true)) {
this.tree.remove_open_elements_until('select');
this.parser.reset_insertion_mode();
this.parser.reset_insertion_mode(this.tree.open_elements.last());
} else {
// inner_html case
this.parse_error();
Expand Down

0 comments on commit 18c09b9

Please sign in to comment.