Revert "Add support for fancy fluidbox #75"

This reverts commit 688fc0fbae.
This commit is contained in:
Alan Orth 2015-02-03 12:39:59 +03:00
commit 27dba1a192
4 changed files with 1 additions and 100 deletions

View file

@ -46,25 +46,6 @@
<script src="{{ SITEURL }}/theme/js/jquery.min.js"></script>
<script src="{{ SITEURL }}/theme/js/bootstrap.min.js"></script>
<script src="{{ SITEURL }}/theme/js/jquery.fluidbox.min.js"></script>
<script>
$('.full-post a[data-fluidbox]').fluidbox();
// Trigger recomputing on Flexbox items, sometimes buggy width calculations due to browser recomputation of flex items
$('.cols').each(function() {
var a = [],
$f = $(this).find('a.fluidbox');
$f.find('img').each(function() {
var i = $.Deferred();
$(this).load(i.resolve).error(i.resolve);
a.push(i);
});
$.when.apply(null, a).done(function() {
$f.trigger('recompute');
});
});
</script>
</body> <!-- 42 -->
</html>