Fixed wordle export under https

This commit is contained in:
Peter 'Pita' Martischka 2011-07-27 13:35:22 +01:00
parent 6b43d2252b
commit e96595896c

View file

@ -289,9 +289,7 @@ var padimpexp = (function()
}, },
export2Wordle: function() export2Wordle: function()
{ {
padUrl = location.pathname; var padUrl = document.location.href + "/export/txt";
padHost = location.host;
var padUrl = "http://" + padHost + padUrl + "/export/txt";
$.get(padUrl, function(data) $.get(padUrl, function(data)
{ {