| Línea 789... |
Línea 789... |
| 789 |
|
789 |
|
| 790 |
var canvas='<div class="editorNoticia"><canvas id="editorNoticia">LABEL_NOT_SUPPORTED</canvas></div>';
|
790 |
var canvas='<div class="editorNoticia"><canvas id="editorNoticia">LABEL_NOT_SUPPORTED</canvas></div>';
|
| 791 |
$(document).on("mouseover", ".editorNoticia", function(){
|
791 |
$(document).on("mouseover", ".editorNoticia", function(){
|
| 792 |
const getScrollBarWidth = () => window.innerWidth - document.documentElement.getBoundingClientRect().width
|
792 |
const getScrollBarWidth = () => window.innerWidth - document.documentElement.getBoundingClientRect().width
|
| - |
|
793 |
console.log(getScrollBarWidth());
|
| 793 |
console.log(getScrollBarWidth());
|
794 |
let anchoScroll= getScrollBarWidth()+"px";
|
| 794 |
$("body").css({"overflow": "hidden"});
|
795 |
$("body").css({"overflow": "hidden"});
|
| 795 |
$(".cuadro_noticias, .fixed_noticia,.tituloEditor,.grid-padre").css("margin-right", getScrollBarWidth()+"px")
|
796 |
$(".cuadro_noticias, .fixed_noticia,.tituloEditor,.grid-padre").css("margin-right",anchoScroll )
|
| Línea 796... |
Línea 797... |
| 796 |
$(".barra,.footer").css("padding-right","17px")
|
797 |
$(".barra,.footer").css("padding-right","17px")
|
| 797 |
|
798 |
|