Commit 3f2ea47a authored by Adrien Pavie's avatar Adrien Pavie

Fixing taginfo init

parent e4acc97e
......@@ -2,7 +2,7 @@
<html>
<head>
<meta charset='utf-8'>
<title>iD-indoor</title>
<title>iD</title>
<link rel='stylesheet' href='iD.css'>
<!-- mobile devices -->
......@@ -19,14 +19,14 @@
<body>
<div id='id-container'></div>
<script>
if (typeof iD == 'undefined' || !iD.detect().support) {
if (typeof iD == 'undefined' || !iD.Detect().support) {
document.getElementById('id-container').innerHTML = 'Sorry, your browser is not currently supported. Please use Potlatch 2 to edit the map.';
document.getElementById('id-container').className = 'unsupported';
} else {
var id = iD()
.presets(iD.data.presets)
.imagery(iD.data.imagery)
.taginfo(iD.services.taginfo());
.taginfo(iD.services.taginfo.init());
d3.select('#id-container')
.call(id.ui());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment