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');