mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
docs/website/js/buildroot.js: fix unterminated statements
Some statements are missing their semicolons. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Acked-by: <angelo@amarulasolutions.com> Tested-by: <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
0fac5df7e6
commit
fcf418d0a4
@ -19,7 +19,7 @@ function load_activity(feedurl, divid) {
|
|||||||
let div = document.createElement("p");
|
let div = document.createElement("p");
|
||||||
let link = document.createElement("a");
|
let link = document.createElement("a");
|
||||||
let d = new Date(entry.published);
|
let d = new Date(entry.published);
|
||||||
let data = '[' + d.toLocaleDateString() + '] ' + entry.title
|
let data = '[' + d.toLocaleDateString() + '] ' + entry.title;
|
||||||
let text = document.createTextNode(data);
|
let text = document.createTextNode(data);
|
||||||
link.appendChild(text);
|
link.appendChild(text);
|
||||||
link.title = entry.title;
|
link.title = entry.title;
|
||||||
@ -58,7 +58,7 @@ let clipboard = new Clipboard('.btn');
|
|||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
$('[data-toggle="tooltip"]').tooltip()
|
$('[data-toggle="tooltip"]').tooltip()
|
||||||
})
|
});
|
||||||
|
|
||||||
clipboard.on('success', function(e) {
|
clipboard.on('success', function(e) {
|
||||||
e.clearSelection();
|
e.clearSelection();
|
||||||
@ -83,7 +83,7 @@ $(function() {
|
|||||||
jQuery(document).ready(function($) {
|
jQuery(document).ready(function($) {
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
// Get the basename of the URL
|
// Get the basename of the URL
|
||||||
url = url.split(/[\\/]/).pop()
|
url = url.split(/[\\/]/).pop();
|
||||||
$('.nav a[href="/' + url + '"]').parent().addClass('active');
|
$('.nav a[href="/' + url + '"]').parent().addClass('active');
|
||||||
|
|
||||||
load_activity("http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-busybox-ft2.xml", "mailing-list-activity");
|
load_activity("http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-busybox-ft2.xml", "mailing-list-activity");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user