mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Remove cla for separate PR, and clean up variable declaration.
This commit is contained in:
parent
35ce8c8b55
commit
8ccee5d015
@ -114,11 +114,11 @@ SelectWidget.prototype.getSelectDomNode = function() {
|
|||||||
// Return an array of the selected opion values
|
// Return an array of the selected opion values
|
||||||
// select is an HTML select element
|
// select is an HTML select element
|
||||||
SelectWidget.prototype.getSelectValues = function() {
|
SelectWidget.prototype.getSelectValues = function() {
|
||||||
var select = this.getSelectDomNode()
|
var select, result, options, opt;
|
||||||
var result = [];
|
select = this.getSelectDomNode();
|
||||||
var options = select && select.options;
|
result = [];
|
||||||
var opt;
|
options = select && select.options;
|
||||||
for (var i=0, iLen=options.length; i<iLen; i++) {
|
for (var i=0; i<options.length; i++) {
|
||||||
opt = options[i];
|
opt = options[i];
|
||||||
if (opt.selected) {
|
if (opt.selected) {
|
||||||
result.push(opt.value || opt.text);
|
result.push(opt.value || opt.text);
|
||||||
|
@ -255,6 +255,4 @@ Tony Grosinger @tgrosinger 2015/10/03
|
|||||||
|
|
||||||
Antaeus Feldspar @afeldspar 2015/10/20
|
Antaeus Feldspar @afeldspar 2015/10/20
|
||||||
|
|
||||||
Soeren Enevoldsen, @senevoldsen90, 2015/10/09
|
Soeren Enevoldsen, @senevoldsen90, 2015/10/09
|
||||||
|
|
||||||
Matthew Lauber, @mklauber, 2015/11/13
|
|
Loading…
Reference in New Issue
Block a user