Skip to content

Commit

Permalink
Merge pull request #152 from pine3ree/patch-1
Browse files Browse the repository at this point in the history
use already fetched value
  • Loading branch information
robbieaverill authored Aug 25, 2017
2 parents cc7d188 + 33ef8b9 commit 33f173d
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 33f173d

Please sign in to comment.