Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 12343 | Rev 14933 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 12343 Rev 12344
Línea 788... Línea 788...
788
	})	
788
	})	
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
-
 
793
		console.log(getScrollBarWidth());
792
		const getScrollBarWidth = () => window.innerWidth - document.documentElement.getBoundingClientRect().width
794
		let anchoScroll= getScrollBarWidth()+"px";
793
		let anchoScroll= getScrollBarWidth()+"px";
795
		$("body").css({"overflow": "hidden"});
794
		$("body").css({"overflow": "hidden"});
796
		$(".cuadro_noticias, .fixed_noticia,.tituloEditor,.grid-padre,.subpanel").css("margin-right",anchoScroll )
795
		$(".cuadro_noticias, .fixed_noticia,.tituloEditor,.grid-padre,.subpanel").css("margin-right",anchoScroll )