Skip to content

Commit

Permalink
use already fetched values
Browse files Browse the repository at this point in the history
  • Loading branch information
pine3ree authored and dhensby committed Jul 19, 2017
1 parent cc7d188 commit 33ef8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/WidgetAreaEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
var parentName=$(this).attr('name');
this.rewriteWidgetAreaAttributes();

var availableWidgets=$('#availableWidgets-'+$(this).attr('name')).children().each(function() {
var availableWidgets=$('#availableWidgets-'+parentName).children().each(function() {
// Don't run on comments, whitespace, etc
if($(this)[0].nodeType==1) {
// Gotta change their ID's because otherwise we get clashes between two tabs
Expand Down

0 comments on commit 33ef8b9

Please sign in to comment.