diff --git a/examples/maps/ipv4_map_of_the_internet/js/example.js b/examples/maps/ipv4_map_of_the_internet/js/example.js index 088c9d1a..97b8f18b 100644 --- a/examples/maps/ipv4_map_of_the_internet/js/example.js +++ b/examples/maps/ipv4_map_of_the_internet/js/example.js @@ -145,7 +145,7 @@ Ox.load('UI', function() { if (!self.text) { Ox.get('html/about.html', function(data) { self.text = data; - self.$text.html(data/*data.split('

')[0]*/); + self.$text.html(data); self.$dialog.open(); }); } else { @@ -218,27 +218,21 @@ Ox.load('UI', function() { } }, function(keys, section) { self.$controlsPanel.append( - $('
') - .addClass('textTitle') - .html(section) + $('
').addClass('textTitle').html(section) ); Ox.forEach(keys, function(value, key) { self.$controlsPanel .append( - $('
') - .addClass('textKey') - .html( - key.split(' ').map(function(key) { - return key.split('+').map(function(key) { - return Ox.UI.symbols[key] || key; - }).join('') - }).join(' ') - ) + $('
').addClass('textKey').html( + key.split(' ').map(function(key) { + return key.split('+').map(function(key) { + return Ox.UI.symbols[key] || key; + }).join('') + }).join(' ') + ) ) .append( - $('
') - .addClass('textValue') - .html(value) + $('
').addClass('textValue').html(value) ); }); });