diff options
author | Jochen Topf <jochen@topf.org> | 2010-11-07 22:06:20 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2010-11-07 22:06:20 +0100 |
commit | 660470cb0d0385ccf53afa9ee459fe9427327e58 (patch) | |
tree | 490fc20d609933bbcc77cfca523728a8ef8e02ee /web/public | |
parent | 5b9a4f8bb5489675f7706eb6270bbb9b4ff1934c (diff) | |
download | taginfo-660470cb0d0385ccf53afa9ee459fe9427327e58.tar taginfo-660470cb0d0385ccf53afa9ee459fe9427327e58.tar.gz |
Added width and height attributes to some images
Diffstat (limited to 'web/public')
-rw-r--r-- | web/public/js/taginfo.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js index 0c4130c..36fc75b 100644 --- a/web/public/js/taginfo.js +++ b/web/public/js/taginfo.js @@ -11,7 +11,7 @@ function print_wiki_link(title, options) { path = 'wiki/' + title; } - return '<img src="/img/link-wiki.gif" alt=""/><a class="wikilink" href="http://wiki.openstreetmap.org/' + path + '" target="_blank">' + title + '</a>'; + return '<img src="/img/link-wiki.gif" alt="" width="14" height="10"/><a class="wikilink" href="http://wiki.openstreetmap.org/' + path + '" target="_blank">' + title + '</a>'; } function print_language(code, native_name, english_name) { @@ -55,7 +55,7 @@ String.prototype.capitalize = function() { function print_image(type) { type = type.replace(/s$/, ''); var name = type.capitalize(); - return '<img src="/img/types/' + type + '.16.png" alt="[' + name + ']" title="' + name + '"/>'; + return '<img src="/img/types/' + type + '.16.png" alt="[' + name + ']" title="' + name + '" width="16" height="16"/>'; } // print a number with thousand separator |