mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
375 B
16 lines
375 B
var Share = {
|
|
get: function() {
|
|
var parts = MovimUtils.urlParts();
|
|
if (parts.params[0]) {
|
|
document.querySelector('h4').innerHTML = parts.params[0];
|
|
Share_ajaxHttpGet(parts.params[0]);
|
|
}
|
|
},
|
|
redirect: function(url) {
|
|
MovimUtils.redirect(url);
|
|
}
|
|
};
|
|
|
|
MovimWebsocket.attach(function() {
|
|
Share.get();
|
|
});
|