Header is not fixed!

Every time I touch the map, the header slightly moves up and down.

Here is my javascript to fill the screen with map.
Is this triggering such movements?

How should I fix this?

var viewport_height = $(window).height();
if (viewport_height > 1) {
$('div[dsid="fullScreenGMaps"]').height(viewport_height-45);
}

1 person has
this question
+1
This topic is no longer open for comments or replies.