'use strict';$(function(){$('#link-insert-cancel').on('click',function(){window.close();});$('#form-entries tr>td.maximal>a').on('click',function(){const tb=window.opener.the_toolbar;const data=tb.elements.link.data;data.href=tb.stripBaseURL($(this).attr('title'));tb.elements.link.fncall[tb.mode].call(tb);window.close();});});