mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
Add wordle support, temporary, Pita to move
This commit is contained in:
parent
802866a5da
commit
4f06d4688f
2 changed files with 16 additions and 1 deletions
|
@ -35,6 +35,18 @@ $(window).unload(function()
|
|||
pad.dispose();
|
||||
});
|
||||
|
||||
// Wordle code, Peter to move
|
||||
function loadCont(){
|
||||
padUrl = location.pathname;
|
||||
padHost = location.host;
|
||||
var padUrl = "http://" + padHost + padUrl + "/export/txt";
|
||||
$.get(padUrl, function(data) {
|
||||
$('.result').html(data);
|
||||
$('#text').html(data);
|
||||
$('#wordlepost').submit();
|
||||
});
|
||||
}
|
||||
|
||||
function createCookie(name, value, days)
|
||||
{
|
||||
if (days)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue