Created
May 15, 2015 17:59
-
-
Save Maqsim/a660b5624d05249b704c to your computer and use it in GitHub Desktop.
Set all title by max height
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 maxTitleHeight = angular | |
.element('.tracker_title') | |
.map(function() { | |
return angular.element(this).height(); | |
}); | |
maxTitleHeight = Math.max.apply(this, maxTitleHeight); | |
angular | |
.element('.tracker_title') | |
.css('height', maxTitleHeight); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment