Commit aeddf4e3 authored by David Schnur's avatar David Schnur

Avoid an unnecessary intermediate variable.

parent 4e9c0c0b
......@@ -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(""));
});
///////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment