code-now icon indicating copy to clipboard operation
code-now copied to clipboard

Regarding issues with codeforces_problem.js reg_link taking undefined value

Open indianquant opened this issue 8 years ago • 0 comments

codeforces_problem.js is throwing error: textToLowerCase() can't take undefined It is due to: var reg_link = $('#header .lang-chooser div')[1].children[1].text.toLowerCase(); But if we modify it to: var reg_link = $('#header .lang-chooser')[0].children[1].**children[0].**text.toLowerCase(); It works fine.

Also $('#sidebar').html); is showing a side bar with code function (a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof

#HTML CODE

 
  In English   По-русски
  |
  | edwardpv   Logout  
 

I am really sorry if I could not bring my point clearly. But this is my first open source contribution and its my first time that I am writing like this. Hope, to get your reply.

indianquant avatar Jan 05 '18 16:01 indianquant