|
@@ -21,8 +21,9 @@
|
|
<script>
|
|
<script>
|
|
var _hmt = _hmt || [];
|
|
var _hmt = _hmt || [];
|
|
(function() {
|
|
(function() {
|
|
- if(document.body.clientWidth > (1200 + 42)){
|
|
|
|
- $("#bottom-bar").css({right: (document.body.clientWidth - 1200) / 2 - 42});
|
|
|
|
|
|
+ var bottomBarRight = (document.body.clientWidth - 1200) / 2 - 42;
|
|
|
|
+ if(bottomBarRight > 0){
|
|
|
|
+ $("#bottom-bar").css({right: bottomBarRight});
|
|
}
|
|
}
|
|
//
|
|
//
|
|
$("#backTop").click(function(){
|
|
$("#backTop").click(function(){
|