The cssHook from addGetHookIf wasn't actually getting added

Conflicts:
	src/css.js
This commit is contained in:
Timmy Willison
2013-09-11 08:41:48 -05:00
parent baa8dff023
commit 577df98524
3 changed files with 6 additions and 7 deletions

View File

@@ -417,7 +417,7 @@ if ( !support.opacity ) {
};
}
addGetHookIf( jQuery.cssHooks.marginRight, support.reliableMarginRight,
jQuery.cssHooks.marginRight = addGetHookIf( support.reliableMarginRight,
function ( elem, computed ) {
if ( computed ) {
// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right