1
0
Fork 0
forked from 0x2620/oxjs

fix find on map

This commit is contained in:
rolux 2011-04-27 09:13:12 +02:00
commit 358ee1bc96
7 changed files with 18 additions and 5 deletions

View file

@ -1260,6 +1260,8 @@ Ox.element = function(str) {
Generic HTML element, mimics jQuery
>>> Ox.element('div').attr({id: 'foo'}).attr('id')
'foo'
>>> Ox.element('div').css('color', 'red').css('color')
'red'
>>> Ox.element('div').html('foo').html()
'foo'
*/
@ -1677,7 +1679,7 @@ Format functions
*/
Ox.formatArea = function(num, dec) {
return Ox.formatNumber(Ox.round(num / 1000000, dec)) + ' km²';
return Ox.formatNumber(Ox.round(num / 1000000, dec)) + ' km\u00B2';
}
Ox.formatColor = function() {