From 5b81d3edaf6a55be2f363059ec87807e7b537f4d Mon Sep 17 00:00:00 2001 From: Emanuel Dima Date: Tue, 9 Sep 2014 10:13:39 +0200 Subject: [PATCH] missing var in js --- invenio/b2share/modules/b2deposit/static/js/b2share-deposit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invenio/b2share/modules/b2deposit/static/js/b2share-deposit.js b/invenio/b2share/modules/b2deposit/static/js/b2share-deposit.js index e9c2a4b371..94717113f0 100755 --- a/invenio/b2share/modules/b2deposit/static/js/b2share-deposit.js +++ b/invenio/b2share/modules/b2deposit/static/js/b2share-deposit.js @@ -51,7 +51,7 @@ $(document).ready(function() { * Should get appropriate metadata form. */ function domain_click_handler(e) { - inputEl = $(this).find('input'); + var inputEl = $(this).find('input'); if (!inputEl.prop('checked')) { inputEl.prop('checked', true); $('#domains .domain').removeClass('highlight-icon');