Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
(issue-1069-selectlist-display-none) removes extraneous var statement
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcculloh committed Feb 12, 2015
1 parent 168270f commit 9c63b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/selectlist-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ define(function(require){
$selectlist9.removeClass('hidden');

//measure all children of selectlist to be tested (add them all to a span and see how wide the span is) and make sure the selectlist is actually big enough to fit that
var $textLengthTester = $('<span id="textLengthTester" style="display:inline-block;"></span>').appendTo('body');
$textLengthTester = $('<span id="textLengthTester" style="display:inline-block;"></span>').appendTo('body');
$selectlist9.find('li').each(function(index, element){
$('<p style="padding: 0 12px 0 28px;">' + $(element).text() + '</p>').appendTo($textLengthTester);
});
Expand Down

0 comments on commit 9c63b52

Please sign in to comment.