// pick a stylesheet to be set. It should be the saved one, if it is in the menu
// or alternatively the first one on the menu,
- // or finally try 'potlatch.css'
+ // or finally try 'stylesheets/potlatch.css'
for each (var ss:Object in collection) {
if (ss.name==saved_nameĀ || ss.url==saved_url) {
setStylesheet(ss.name, ss.url);
setStylesheet(s.name, s.url);
} else {
//hit and hope. FIXME should this be an error state?
- collection.push({ name:'Potlatch', url:'potlatch.css'});
- setStylesheet('Potlatch','potlatch.css');
+ collection.push({ name:'Potlatch', url:'stylesheets/potlatch.css'});
+ setStylesheet('Potlatch','stylesheets/potlatch.css');
}
}
FunctionKeyManager.instance().registerListener('Map style',