Skip to content

Commit

Permalink
Dev: fix broken js in template-core
Browse files Browse the repository at this point in the history
Dev: bad copy/paste
  • Loading branch information
Shnoulle committed Dec 6, 2016
1 parent fbf2ff1 commit 0587c97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion application/core/packages/limesurvey/survey.js
Expand Up @@ -142,7 +142,6 @@ function activateLanguageChanger(){
if(!$(this).closest('form').length){
/* we are not in a forum, can not submit directly */
if($('form#limesurvey').length==1){
console.log('limesurvey');
/* The limesurvey form exist in document, move select and button inside and click */
$("form#limesurvey [name='lang']").remove();// Remove existing lang selector
$("<input type='hidden'>").attr('name','lang').val($(this).find('option:selected').val()).appendTo($('form#limesurvey'));
Expand Down
3 changes: 1 addition & 2 deletions application/core/packages/template-default/template-core.js
Expand Up @@ -6,10 +6,9 @@

/* document ready function */
$(function() {
{
addHoverColumn();
triggerEmClassChangeTemplate();
}
});

/**
* Dialog and confirm
Expand Down

0 comments on commit 0587c97

Please sign in to comment.