Created
June 9, 2015 22:08
-
-
Save asarode/bcfc264479959320659e to your computer and use it in GitHub Desktop.
Nightmare patch
This file contains 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
// Nightmare patch for weird Chrome bug | |
Array.prototype.slice.call(document.querySelectorAll('md-input-container label')).forEach(function(label) { | |
label.style.direction = 'rtl'; | |
setTimeout(function() { | |
label.style.direction =' ltr'; | |
}, 0) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment