wallabag/app/Resources/static/themes/baggy/js/autoClose.js
2016-06-09 19:02:38 +02:00

8 lines
189 B
JavaScript

var $ = global.jquery = require('jquery');
$(document).ready(function () {
var currentUrl = window.location.href;
if (currentUrl.match('&closewin=true')) {
window.close();
}
});