Browse Source

Modify transition hidden to force display none

1.0
jlukic 10 years ago
parent
commit
e3b0a9f06d
3 changed files with 3 additions and 2 deletions
  1. 2
      gulpfile.js
  2. 1
      src/definitions/modules/transition.js
  3. 2
      src/definitions/modules/transition.less

2
gulpfile.js

@ -351,7 +351,7 @@ gulp.task('build', 'Builds all files from source', function(callback) {
.pipe(autoprefixer(settings.prefix))
;
// use 2 concurrent streams from same source
// use 2 concurrent streams from same source to concat release
uncompressedStream = stream.pipe(clone());
compressedStream = stream.pipe(clone());

1
src/definitions/modules/transition.js

@ -538,6 +538,7 @@ $.fn.transition = function() {
displayType = $clone
.attr('class', elementClass)
.removeAttr('style')
.removeClass(className.hidden)
.removeClass(className.visible)
.show()
.css('display')

2
src/definitions/modules/transition.less

@ -56,7 +56,7 @@
/* Hidden */
.hidden.transition {
display: none;
display: none !important;
visibility: hidden;
}

Loading…
Cancel
Save