Merge pull request #3167 from Hypolite/bug/comment-box-undefined

Bug comment box undefined
This commit is contained in:
rabuzarus 2017-02-18 13:29:39 +01:00 committed by GitHub
commit d27b342f7d
2 changed files with 22 additions and 36 deletions

View file

@ -10,7 +10,7 @@ $(document).ready(function(){
$("#back-to-top").fadeOut();
}
});
// scroll body to 0px on click
$("#back-to-top").click(function () {
$("body,html").animate({
@ -54,7 +54,7 @@ $(document).ready(function(){
}
// make responsive tabmenu with flexmenu.js
// the menupoints which doesn't fit in the second nav bar will moved to a
// the menupoints which doesn't fit in the second nav bar will moved to a
// dropdown menu. Look at common_tabs.tpl
$("ul.tabs.flex-nav").flexMenu({
'cutoff': 2,
@ -82,17 +82,17 @@ $(document).ready(function(){
return false;
}
});
if(checked == true) {
$("a#item-delete-selected").fadeTo(400, 1);
$("a#item-delete-selected").show();
} else {
$("a#item-delete-selected").fadeTo(400, 0, function(){
$("a#item-delete-selected").hide();
});
});
}
});
//$('ul.flex-nav').flexMenu();
// initialize the bootstrap tooltips
@ -128,7 +128,7 @@ $(document).ready(function(){
// append the new heading to the navbar
$("#topbar-second > .container > #tabmenu").append(newText);
// try to get the value of the original search input to insert it
// try to get the value of the original search input to insert it
// as value in the nav-search-input
var searchValue = $("#search-wrapper .form-group-search input").val();