Skip to content

Commit

Permalink
App: Renamed variable that was using a reserved word
Browse files Browse the repository at this point in the history
Fixes gh-211
Closes gh-212
  • Loading branch information
jaspermdegroot committed Dec 4, 2014
1 parent fdc9a60 commit 405d0fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,14 @@ TR.addInspectorAttributes = function( swatch ) {
radio = TR.iframe.find( ".ui-content" ).each(function() {
$( this ).find( ".ui-radio:first span:first" ).removeClass( "ui-corner-top" );
}),
static = TR.iframe.find( ".ui-li-static.ui-btn-up-" + swatch );
staticListItem = TR.iframe.find( ".ui-li-static.ui-btn-up-" + swatch );

slider.attr( "data-form", "ui-btn-up-" + swatch ).attr( "data-theme", swatch ).addClass( "ui-btn-up-" + swatch );
slider.find( "a" ).attr( "data-form", "ui-btn-up-" + swatch ).attr( "data-theme", swatch );
select.attr( "id", "select-choice-" + swatch );
btn.attr( "data-theme", swatch ).attr( "data-form", "ui-btn-up-" + swatch );
btn.find( ".ui-icon" ).attr( "data-form", "ui-icon" );
static.attr( "data-theme", swatch );
staticListItem.attr( "data-theme", swatch );
}

//adds a most-recent-color to the five right-most draggables in the quickswatch panel
Expand Down

0 comments on commit 405d0fb

Please sign in to comment.