Finishing timepoint browser behavior

This commit is contained in:
Bruno Alves de Faria committed 2017-10-25 22:18:42 -02:00
1 parent d721c0dbde
commit d787ed2cb9
17 files changed
+118 -95

No files matched your search

@@ -27,8 +27,10 @@ $.fn.tempShow = function(callback) {
};
// Adjust the max width/height to enable CSS3 transitions
$.fn.adjustMax = function(dimension) {
$.fn.adjustMax = function(dimension, modifierFn) {
const $element = $(this);
// Temporarily make the element visible to allow getting its dimensions
$element.tempShow(() => {
const maxProperty = `max-${dimension}`;
@@ -1,2 +1,2 @@
body *.visible
display: block !important
display: block !important