make sure ipv4 map works over https

This commit is contained in:
rolux 2012-06-26 17:58:56 +02:00
parent 75fe62730c
commit 4bc846741a
2 changed files with 8 additions and 7 deletions

View file

@ -78,6 +78,10 @@
opacity: 0;
overflow: hidden;
}
#world > img {
width: 256px;
height: 256px;
}
div.marker {
position: absolute;

View file

@ -373,12 +373,9 @@ Ox.load('UI', function() {
}
})
.append(
$('<img>')
.attr({
src: self.options.tilesURL
+ '0/0.0.0.0-255.255.255.255.png'
$('<img>').attr({
src: self.options.tilesURL + '0/0.0.0.0-255.255.255.255.png'
})
.css({width: '256px', height: '256px'})
)
.hide()
.appendTo(that);
@ -1020,7 +1017,7 @@ Ox.load('UI', function() {
};
var URL = 'http://0x2620.org/html/ipv4map/',
var URL = 'https://0x2620.org/html/ipv4map/',
lookupURL = URL + 'php/ipv4map.php?callback={callback}',
tilesURL = URL + 'png/tiles/';