mirror of
https://github.com/wassname/angular-timezone-selector.git
synced 2026-08-05 12:50:10 +08:00
Added better description to no results string
This commit is contained in:
Vendored
+3
@@ -62,6 +62,9 @@ angular.module('angular-timezone-selector', [])
|
||||
data.push(zonesForCountry)
|
||||
})
|
||||
|
||||
// Sort by country name
|
||||
data = _.sortBy(data, 'text')
|
||||
|
||||
// Construct a select box with the timezones grouped by country
|
||||
_.forEach(data, function (group) {
|
||||
var $optgroup = $('<optgroup label="' + group.text + '">')
|
||||
|
||||
Reference in New Issue
Block a user