firming up behavior/styling for tender widget - including errors

This commit is contained in:
Brian Talbot
2013-03-26 14:46:38 -04:00
parent 8a4047d5dd
commit 7e56e98c58
2 changed files with 15 additions and 4 deletions

View File

@@ -81,10 +81,10 @@ $(document).ready(function () {
});
// general link management - smooth scrolling page links
$('a[rel*="view"]').bind('click', linkSmoothScroll);
$('a[rel*="view"]').bind('click', smoothScrollLink);
// tender feedback window scrolling
$('a.show-tender').bind('click', linkSmoothScrollTop);
$('a.show-tender').bind('click', smoothScrollTop);
// toggling overview section details
@@ -151,7 +151,7 @@ $(document).ready(function () {
});
});
function linkSmoothScroll(e) {
function smoothScrollLink(e) {
(e).preventDefault();
$.smoothScroll({
@@ -163,7 +163,7 @@ function linkSmoothScroll(e) {
});
}
function linkSmoothScrollTop(e) {
function smoothScrollTop(e) {
(e).preventDefault();
$.smoothScroll({