Skip to content
This repository has been archived by the owner on May 14, 2019. It is now read-only.

Commit

Permalink
Push fx fix into v3 builder
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanseddon committed Mar 4, 2015
1 parent 8189108 commit 71f4fde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions i/js/builderapp2.js
Expand Up @@ -27,20 +27,20 @@ require(['build', '../lib/build-hash'], function( builder, generateBuildHash ) {
var selections = hash.split('-');

// Unselect everything
$('input[type="checkbox"]:not([value="cssclasses"])').removeAttr('checked');
$('input[type="checkbox"]:not([value="cssclasses"])').prop('checked', false);
for(var i in selections) {
if ( selections[i].match( /^cssclassprefix:/ ) ) {
var cssclassprefix = selections[i].substr(15);
$('#classPrefix input').val(cssclassprefix);
}
else if (selections[i] == 'dontmin'){
$('#dontmin').attr('checked', 'checked');
$('#dontmin').prop('checked', true);
}
else {
if (selections[i] in builderAliasMap) {
selections[i] = builderAliasMap[selections[i]];
}
$('input[value=' + selections[i] + ']').attr('checked', 'checked');
$('input[value=' + selections[i] + ']').prop('checked', true);
}
}
var checked = $('#classPrefix input:checkbox').is(':checked');
Expand Down

0 comments on commit 71f4fde

Please sign in to comment.