js: only load once (#10499)

This commit is contained in:
Frédéric Péters 2016-03-31 15:39:38 +02:00
parent a88c76dd5c
commit d8c9a55a5d
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,7 @@
var gadjo_js = gadjo_js || {};
(function () {
if (gadjo_js.loaded) return
gadjo_js.loaded = true;
var $ = jQuery;
window.displayPopup = function(event)
{