Created
February 19, 2013 15:04
-
-
Save mauriciodarocha/4986659 to your computer and use it in GitHub Desktop.
Conserta a seleção de sku pelo "Label". Faz o on/off funcionar. Para usar coloque dentro de uma função e execute a mesma ao entrar na página de produto.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _removeUnavaliableStyle = window.removeUnavaliableStyle; | |
// function override | |
window.removeUnavaliableStyle = function (selector) | |
{ | |
// fix on/off label style | |
if(typeof selector=="undefined") | |
jQuery(".topic label").removeClass("sku-picked"); | |
_removeUnavaliableStyle(selector); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment