Avoid an unnecessary intermediate variable.

pull/1/head
David Schnur 13 years ago
parent 4e9c0c0b53
commit aeddf4e385

@ -40,12 +40,12 @@ Licensed under the MIT license.
// Add default styles for tick labels and other text
var STYLES = [
".flot-tick-label {font-size:smaller;color:#545454;}"
];
$(function() {
$("head").prepend("<style id='flot-default-styles'>" + STYLES.join("") + "</style>");
$("head").prepend([
"<style id='flot-default-styles'>",
".flot-tick-label {font-size:smaller;color:#545454;}",
"</style>"
].join(""));
});
///////////////////////////////////////////////////////////////////////////

Loading…
Cancel
Save