jQuery force display

jQuery.fn.forceShow = function() {
  if (this.css('opacity') < 0.25) {
    this.css('opacity',1)
  }
  return this.show().css('visibility','visible')
}

Leave a Reply