mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-26 22:37:11 -05:00
19 lines
366 B
JavaScript
19 lines
366 B
JavaScript
function send(msg) {
|
|
document.title = "null";
|
|
document.title = msg;
|
|
}
|
|
|
|
function init(basename, strings) {
|
|
$('#basename').html(basename);
|
|
$('#give-this-url').html(strings['give_this_url'])
|
|
}
|
|
|
|
function set_url(url) {
|
|
$('#url').html(url);
|
|
$('#url-wrapper').slideDown(200);
|
|
}
|
|
|
|
function update(msg) {
|
|
$('#output').append($('<p></p>').html(msg))
|
|
}
|