Línea 790... |
Línea 790... |
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 |
$("body").css({"overflow": "hidden"});
|
794 |
$("body").css({"overflow": "hidden"});
|
795 |
$(".cuadro_noticias, .fixed_noticia,.tituloEditor,.grid-padre").css("margin-right", "17px")
|
795 |
$(".cuadro_noticias, .fixed_noticia,.tituloEditor,.grid-padre").css("margin-right", getScrollBarWidth()+"px")
|
796 |
$(".barra,.footer").css("padding-right","17px")
|
796 |
$(".barra,.footer").css("padding-right","17px")
|
Línea 797... |
Línea 797... |
797 |
|
797 |
|
798 |
|
798 |
|