1Drupal.behaviors.langDropdown = function(context) { 2 $('#edit-lang-dropdown-select').change(function() { 3 document.location.href = this.options[this.selectedIndex].value; 4 }); 5 6 if (Drupal.settings.langDropdown) { 7 var flags = Drupal.settings.langDropdown.jsWidget.languageicons; 8 if (flags) { 9 $.each(flags, function(index, value) { 10 $('#edit-lang-dropdown-select option[value=' + index + ']').attr('title', value); 11 }); 12 } 13 14 var msddSettings = Drupal.settings.langDropdown.jsWidget; 15 $('#edit-lang-dropdown-select').msDropDown({ 16 visibleRows: msddSettings.visibleRows, 17 rowHeight: msddSettings.rowHeight, 18 animStyle: msddSettings.animStyle 19 }); 20 } 21}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.