Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 8652024: Use new Option() instead of document.createElement("option") (Closed)

Created:
Oct. 22, 2012, 11:49 a.m. by Wladimir Palant
Modified:
Oct. 22, 2012, 1:03 p.m.
Reviewers:
Felix Dahlke
Visibility:
Public.

Description

Use new Option() instead of document.createElement("option")

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -8 lines) Patch
M .hgsubstate View 1 chunk +1 line, -1 line 0 comments Download
M options.js View 3 chunks +4 lines, -7 lines 0 comments Download

Messages

Total messages: 2
Wladimir Palant
Oct. 22, 2012, 11:49 a.m. (2012-10-22 11:49:32 UTC) #1
Felix Dahlke
Oct. 22, 2012, 11:52 a.m. (2012-10-22 11:52:37 UTC) #2
LGTM. We might want to add a comment describing why new Option() has to be used,
but if the code is only used for Opera, that should be self explanatory.

Powered by Google App Engine
This is Rietveld