View | Details | Raw Unified | Return to bug 9335
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/humanmsg.js (-4 / +3 lines)
Lines 84-92 var humanMsg = { Link Here
84
			.unbind('click', humanMsg.removeMsg)
84
			.unbind('click', humanMsg.removeMsg)
85
			.unbind('keypress', humanMsg.removeMsg)
85
			.unbind('keypress', humanMsg.removeMsg)
86
86
87
		// If message is fully transparent, fade it out
87
                // If message is fully transparent, fade it out
88
		if (jQuery('#'+humanMsg.msgID).css('opacity') == humanMsg.msgOpacity)
88
                if ( Math.abs(jQuery('#'+humanMsg.msgID).css('opacity') - humanMsg.msgOpacity ) < 0.00001 )
89
			jQuery('#'+humanMsg.msgID).animate({ opacity: 0 }, 500, function() { jQuery(this).hide() })
89
                        jQuery('#'+humanMsg.msgID).animate({ opacity: 0 }, 500, function() { jQuery(this).hide() })
90
	}
90
	}
91
};
91
};
92
92
93
- 

Return to bug 9335