Skip to content

Commit b70a2f1

Browse files
sergio-d-lemosjbonofre
authored andcommitted
AMQ-9743: Fixes Web Console column sorting. (#1479)
Fixes an issue registering window.onload JS events, also fixes a call to prettyPrint() with the wrong callback. (cherry picked from commit 4352d55)
1 parent 8bda4b8 commit b70a2f1

File tree

1 file changed

+1
-4
lines changed
  • activemq-web-console/src/main/webapp/js

1 file changed

+1
-4
lines changed

activemq-web-console/src/main/webapp/js/head.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
18-
window.onload = function () {
19-
addEvent(window, 'load', prettyPrint)
20-
}
17+
addEvent(window, 'load', (_event) => prettyPrint());

0 commit comments

Comments
 (0)