Commit 9f488dd4 authored by Your Name's avatar Your Name

test

parent 1c4c7bde
......@@ -26,11 +26,12 @@ $(document).ready(function(){
$(document).on('click', '#button', function(e) {
e.preventDefault();
e.stopPropagation();
$(this).toggleClass('active');
$(window).scrollTop(0);
$('#jot-popup').toggle();
$('#profile-jot-text').focus();
if($('#jot-popup').length){
$(this).toggleClass('active');
$(window).scrollTop(0);
$('#jot-popup').toggle();
$('#profile-jot-text').focus();
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment