Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
19 lines
406 B
JavaScript
Executable file
19 lines
406 B
JavaScript
Executable file
'use strict';
|
|
|
|
(function() {
|
|
|
|
var done = document.getElementById('nav-done');
|
|
done.addEventListener('click', e => {
|
|
e.preventDefault();
|
|
window.close();
|
|
});
|
|
|
|
var links = document.querySelectorAll('.external-link');
|
|
Array.slice(links).forEach(link => {
|
|
link.addEventListener('click', e => {
|
|
e.preventDefault();
|
|
window.open(e.target.href, '', 'dialog');
|
|
});
|
|
});
|
|
|
|
}());
|