Created
January 22, 2016 12:15
-
-
Save sibaberpollo/cd236534a8047ec4e322 to your computer and use it in GitHub Desktop.
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
$(".tabs #linea-rota").each(function() { | |
var width = $(window).width(); | |
if (width <= 768) { | |
var html = $(this).html().split(" "); | |
html = html[0] + "<br>" + html.slice(1).join(" "); | |
$(this).html(html); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment