hardlounge/client/js/socket-events/configuration.js
2017-11-19 19:43:42 +02:00

13 lines
307 B
JavaScript

"use strict";
const $ = require("jquery");
const socket = require("../socket");
const templates = require("../../views");
socket.on("configuration", function(data) {
$("#settings").html(templates.windows.settings(data));
$("#connect").html(templates.windows.connect(data));
require("../options");
});