mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-01 02:43:35 +08:00
feature (orgmode): use emacs to export org documents
This commit is contained in:
@ -37,7 +37,11 @@ export function absoluteToRelative(from, to){
|
||||
}
|
||||
|
||||
export function currentShare(){
|
||||
return new window.URL(location.href).searchParams.get("share") || ""
|
||||
return findParams("share");
|
||||
}
|
||||
|
||||
export function findParams(p){
|
||||
return new window.URL(location.href).searchParams.get(p) || ""
|
||||
}
|
||||
|
||||
export function appendShareToUrl(link) {
|
||||
|
||||
Reference in New Issue
Block a user