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
1 changed files with 1 additions and 3 deletions

View File

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