custom terms from menu and links

This commit is contained in:
Hannes Mannerheim 2016-02-11 14:29:57 +01:00
parent 6909aea0ba
commit 086991fab8

View File

@ -1101,11 +1101,16 @@ $('#faq-link').click(function(){
·
· · · · · · · · · · · · · */
$('#tou-link').click(function(){
$('#tou-link,.tou-link').click(function(){
popUpAction('popup-terms', window.sL.showTerms,'<div id="terms-container"></div>',false);
getDoc('terms',function(termsHtml){
$('#terms-container').html(termsHtml);
});
if(window.customTermsOfUse) {
$('#terms-container').html(window.customTermsOfUse);
}
else {
getDoc('terms',function(termsHtml){
$('#terms-container').html(termsHtml);
});
}
});