Commit 6326babd by Manzar Hussain

override js comment

parent a019f457
(function($) { /*(function($) {
console.log("header"); console.log("header");
// search button function start // search button function start
...@@ -91,8 +91,8 @@ ...@@ -91,8 +91,8 @@
$(window).scroll(function(){ $(window).scroll(function(){
var windowTop = $(window).scrollTop(); var windowTop = $(window).scrollTop();
var windowWidth = $(window).width(); var windowWidth = $(window).width();
/* var innerWidth = $('.fixedHeadercontainer').innerHeight(); var innerWidth = $('.fixedHeadercontainer').innerHeight();
innerWidth = innerWidth + 30; */ innerWidth = innerWidth + 30;
if (windowWidth > 767) { if (windowWidth > 767) {
if (stopPoint < windowTop) { if (stopPoint < windowTop) {
$sticky.css({ position: 'relative', top: '100%', 'margin-top':-(generalSidebarHeight+70)}); $sticky.css({ position: 'relative', top: '100%', 'margin-top':-(generalSidebarHeight+70)});
...@@ -199,4 +199,4 @@ ...@@ -199,4 +199,4 @@
})(jQuery); })(jQuery);*/
\ No newline at end of file \ No newline at end of file
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