Browse Source

Removed the unused `values` variable

pull/3088/head
John Schult 9 years ago
parent
commit
8c2ed75b02
1 changed files with 1 additions and 4 deletions
  1. 5
      src/definitions/modules/dropdown.js

5
src/definitions/modules/dropdown.js

@ -3386,10 +3386,7 @@ $.fn.dropdown.settings.templates = {
// generates just menu from select
menu: function(response, fields) {
var
values = response.values || {},
html = ''
;
var html = '';
$.each(response[fields.values], function(index, option) {
html += '<div class="item" data-value="' + option[fields.value] + '">' + option[fields.name] + '</div>';
});

Loading…
Cancel
Save