We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41fd99e commit 91ae730Copy full SHA for 91ae730
src/main/java/org/primefaces/application/resource/MoveScriptsToBottomResponseWriter.java
@@ -172,8 +172,8 @@ else if ("body".equals(name)) {
172
protected String mergeAndMinimizeInlineScripts() {
173
174
StringBuilder script = new StringBuilder(state.getInlines().size() * 100);
175
- for (String current : state.getInlines()) {
176
- script.append(current);
+ for (int i = 0; i < state.getInlines().size(); i++) {
+ script.append(state.getInlines().get(i));
177
script.append(";\n");
178
}
179
0 commit comments