Did some routing for the search tab.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3984 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		| @@ -26,6 +26,7 @@ const k_api = { | ||||
| 	localStorageGet: {args: ['key'], func: api_localStorageGet}, | ||||
| 	requestPermission: {args: ['permission', 'id'], func: api_requestPermission}, | ||||
| 	print: {args: ['...'], func: api_print}, | ||||
| 	setHash: {args: ['hash'], func: api_setHash}, | ||||
| }; | ||||
|  | ||||
| window.addEventListener("keydown", function(event) { | ||||
| @@ -505,6 +506,10 @@ function api_print() { | ||||
| 	console.log('app>', ...arguments); | ||||
| } | ||||
|  | ||||
| function api_setHash(hash) { | ||||
| 	window.location.hash = hash; | ||||
| } | ||||
|  | ||||
| function hidePermissions() { | ||||
| 	let permissions = document.getElementById('permissions_settings'); | ||||
| 	while (permissions.firstChild) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user