aboutsummaryrefslogblamecommitdiffhomepage
path: root/app/Resources/static/themes/baggy/js/autoClose.js
blob: b0dafab210651d579c9f6ea2f287788b4e0c3a1b (plain) (tree)
1
2
3
4
5
6
7
8






                                           
   
var $ = global.jquery = require('jquery');

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