0

Styling for the worldselector control

This commit is contained in:
Andrew Chin
2012-04-07 17:56:30 -04:00
parent 94b5f21d10
commit f4d43d544a
2 changed files with 13 additions and 0 deletions

View File

@@ -47,6 +47,8 @@ overviewer.views.WorldView = Backbone.View.extend({
overviewer.views.WorldSelectorView = Backbone.View.extend({
initialize: function() {
if(overviewer.collections.worldViews.length > 1) {
$(this.el).addClass("customControl");
// a div will have already been created for us, we just
// need to register it with the google maps control
var selectBox = document.createElement('select');