Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

prefer resolveContent over resolveProperty for pulldown items'

  • Loading branch information...
commit 17e93704fb4a9c701acaa110b8e5fa3c91223b13 1 parent b57c994
@joestelmach joestelmach authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/js/menu.js
  2. +1 −1  src/js/pulldown.js
View
2  src/js/menu.js
@@ -94,7 +94,7 @@
_labelForItem : function(item) {
return !_(item).exists() ? this.options.placeholder :
- _(item).resolveProperty(this.options.altLabelContent);
+ this.resolveContent(item, this.options.altLabelContent);
}
});
}());
View
2  src/js/pulldown.js
@@ -89,7 +89,7 @@
_labelForItem : function(item) {
return !_(item).exists() ? this.options.placeholder :
- _(item).resolveProperty(this.options.altLabelContent);
+ this.resolveContent(item, this.options.altLabelContent);
},
// sets the selected item
Please sign in to comment.
Something went wrong with that request. Please try again.