javascript - Removing inline styling from fancybox -


i use fancybox 2, , want edit inline style , want remove display: block; fancybox-overlay.

original:

<div class="fancybox-overlay fancybox-overlay-fixed" style="width: auto; height: auto; display: block;"> 

edited:

<div class="fancybox-overlay fancybox-overlay-fixed" style="width: auto; height: auto;"> 

try

$('.fancybox-overlay.fancybox-overlay-fixed').css('display', '')
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>  <div class="fancybox-overlay fancybox-overlay-fixed" style="width: auto; height: auto; display:block;">no display block</div>


Comments

Popular posts from this blog

Java 8 + Maven Javadoc plugin: Error fetching URL -

android - How to delete or change the searchview icon inside the SearchView actionBar? -

c++ - Msgpack packing bools bug -