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
|
||||
// select is an HTML select element
|
||||
SelectWidget.prototype.getSelectValues = function() {
|
||||
var select = this.getSelectDomNode()
|
||||
var result = [];
|
||||
var options = select && select.options;
|
||||
var opt;
|
||||
for (var i=0, iLen=options.length; i<iLen; i++) {
|
||||
var select, result, options, opt;
|
||||
select = this.getSelectDomNode();
|
||||
result = [];
|
||||
options = select && select.options;
|
||||
for (var i=0; i<options.length; i++) {
|
||||
opt = options[i];
|
||||
if (opt.selected) {
|
||||
result.push(opt.value || opt.text);
|
||||
|
@ -255,6 +255,4 @@ Tony Grosinger @tgrosinger 2015/10/03
|
||||
|
||||
Antaeus Feldspar @afeldspar 2015/10/20
|
||||
|
||||
Soeren Enevoldsen, @senevoldsen90, 2015/10/09
|
||||
|
||||
Matthew Lauber, @mklauber, 2015/11/13
|
||||
Soeren Enevoldsen, @senevoldsen90, 2015/10/09
|
Loading…
Reference in New Issue
Block a user