Skip to content

Commit

Permalink
Fixed issue #11787: filtered question with multiple column
Browse files Browse the repository at this point in the history
Dev: function is here, but not called …
Dev: since user can extend vaniall and remove template-core js, test if exist before
  • Loading branch information
Shnoulle committed Nov 1, 2018
1 parent 7c9ea81 commit dcb699c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion themes/survey/vanilla/scripts/theme.js
Expand Up @@ -275,7 +275,12 @@ var ThemeScripts = function(){
var initGlobal = function(){
sliderSuffixClone();
fixBodyPadding();
window.templateCore.hideQuestionWithRelevanceSubQuestion();
if(jQuery.isFunction(window.templateCore.hideQuestionWithRelevanceSubQuestion)) {
window.templateCore.hideQuestionWithRelevanceSubQuestion();
}
if(jQuery.isFunction(window.templateCore.hideMultipleColumn)) {
window.templateCore.hideMultipleColumn();
}
hideEmptyPart();
};

Expand Down

0 comments on commit dcb699c

Please sign in to comment.