- {if="$source !== 'firefoxsocialapi'"}
- {include="page.footer"}
- {/if}
-<script>
- awesompleteUniqueTag('#lf_tags');
- if (!document.linkform.lf_title.value) {
- document.linkform.lf_title.focus();
- } else if (!document.linkform.lf_description.value) {
- document.linkform.lf_description.focus();
- } else {
- document.linkform.lf_tags.focus();
- }
- function textAreaAdjust(el) {
- el.style.height = (el.scrollHeight > el.clientHeight) ? (el.scrollHeight) + "px" : (el.clientHeight - 18) + "px";
- }
- (function (window, document) {
- textAreaAdjust(document.linkform.lf_description)
- })(this, this.document);
-</script>
+ {include="page.footer"}
+ {if="$link_is_new && $async_metadata"}<script src="{$asset_path}/js/metadata.min.js?v={$version_hash}#"></script>{/if}