We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b8dcb3 commit 2b7ce22Copy full SHA for 2b7ce22
1 file changed
client/javascripts/application.js
@@ -77,18 +77,16 @@ jQuery(function($) {
77
// Inbox
78
// -------------------------------------
79
80
-jQuery(function($) {
+$('a:contains("Next Challenge")').on('click', function() {
81
+ var name = $('.js-inlineConsole-input').val().replace(/['";]/g, '');
82
+
83
+ document.cookie = 'try_name=' + name;
84
+});
85
86
+jQuery(function($) {
87
// Hide sponsor links
88
$('tr[style="background-color: #faf9dc;"]').hide();
89
-
- $('a:contains("Next Challenge")').on('click', function() {
- var name = $('.js-inlineConsole-input').val().replace(/['";]/g, '');
- document.cookie = 'try_name=' + name;
90
- });
91
92
$('.js-courseLayout-toggle').on('click', function(event) {
93
$('.js-courseLayout').toggleClass('is-active')
94
});
0 commit comments