Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkAnswer(a,b)
- {
- $('#learning_page').hide();
- $('#loading').show();
- updateParams(a,hackedbypsychox,true);
- } var hackedbypsychox=' ';
- function learningPageShow(a,b,c,d,e,f,g,h,j)
- {
- hackedbypsychox=e;$('.speaker').hide();
- $('#question_speaker').hide();
- $('#question_speaker').off('click');
- $('#answer').off('keyup');
- $('body').off('keyup');
- $('#answer').off('enterKey');
- $('.speaker').off('click');
- $('#check').off('click');
- $('#show').off('click');
- $("#new_word_form .big_button").off("click");
- $('.translations').html(d);
- $('.usage_example').html(c);
- $('.speech_part').html(b);
- $('#loading').hide();
- $('.back').show();$('#learning_page').show();
- top.document.title='Insta.Ling bot by PatrykCzyliPsychoX, edit by Szymixo';
- if(h||j){$("#learning_form").hide();
- $("#new_word_form").show();
- $("#know_new").click(function()
- {
- if(j){possibleWordPageShow(d);
- $('#answer').attr('value',e);
- }
- else
- {
- show_learning_form(a);
- }
- });
- $("#dont_know_new").click(function()
- {
- if(j)
- {
- possibleWordPageShow(d);
- $('#answer').style('value',e);
- }
- else ask_for_answer(a);
- });
- $('body').off('keyup');
- $("body").keyup(function(e)
- {
- if(e.keyCode==13)
- {
- $('#know_new').trigger('click');
- }
- });
- }
- else
- {
- show_learning_form(a);
- }
- if(f)
- {
- setAudio(g);
- }
- if(currentLanguageId==ORT_LANG_ID&&f)
- {
- playAudio();$("#question_speaker").show();
- $("#question_speaker").click(function()
- {
- playAudio();
- });
- }
- };
- console.log('--- Automat Instaling.pl by PatrykCzyliPsychoX, edit by Szymixo ---');
Advertisement
Add Comment
Please, Sign In to add comment