diff options
author | Peter 'Pita' Martischka <petermartischka@googlemail.com> | 2011-07-27 13:35:22 +0100 |
---|---|---|
committer | Peter 'Pita' Martischka <petermartischka@googlemail.com> | 2011-07-27 13:35:22 +0100 |
commit | e96595896c8b33df9756acfb18f4b572696185e2 (patch) | |
tree | 8d05559e03329b7e939d4fa921b2ffbb1b46d6fe | |
parent | 6b43d2252bae5a0c75a73b4913ce68f58d2a7484 (diff) | |
download | etherpad-lite-e96595896c8b33df9756acfb18f4b572696185e2.zip |
Fixed wordle export under https
-rw-r--r-- | static/js/pad_impexp.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/static/js/pad_impexp.js b/static/js/pad_impexp.js index e5dee7af..8e4b269d 100644 --- a/static/js/pad_impexp.js +++ b/static/js/pad_impexp.js @@ -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) { |