forked from MapComplete/MapComplete
		
	Remove console.trace
This commit is contained in:
		
							parent
							
								
									2bf6bac994
								
							
						
					
					
						commit
						1c413cd6cc
					
				
					 2 changed files with 5 additions and 2 deletions
				
			
		|  | @ -1,7 +1,11 @@ | ||||||
| Metatags | Metatags | ||||||
| -------- | -------- | ||||||
| 
 | 
 | ||||||
| Metatags are extra tags available, in order to display more data or to give better questions.The are calculated automatically on every feature when the data arrives in the webbrowser. This document gives an overview of the available metatags | Metatags are extra tags available, in order to display more data or to give better questions. | ||||||
|  | 
 | ||||||
|  | The are calculated automatically on every feature when the data arrives in the webbrowser. This document gives an overview of the available metatags. | ||||||
|  | 
 | ||||||
|  | **Hint:** when using metatags, add the \[query parameter\](URL\_Parameters.md) \`debug=true\` to the URL. This will include a box in the popup for features which shows all the properties of the object | ||||||
| 
 | 
 | ||||||
| ### \_lat, \_lon | ### \_lat, \_lon | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -26,7 +26,6 @@ export default class Hash { | ||||||
|         } |         } | ||||||
|         const hash = new UIEventSource<string>(window.location.hash.substr(1)); |         const hash = new UIEventSource<string>(window.location.hash.substr(1)); | ||||||
|         hash.addCallback(h => { |         hash.addCallback(h => { | ||||||
|             console.trace("Hash was changed into ",h) |  | ||||||
|             if (h === "undefined") { |             if (h === "undefined") { | ||||||
|                 console.warn("Got a literal 'undefined' as hash, ignoring") |                 console.warn("Got a literal 'undefined' as hash, ignoring") | ||||||
|                 h = undefined; |                 h = undefined; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue