From b451d1ce06b59812c658b33bcaf970d48f2291b7 Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 1 Mar 2016 08:32:47 -0500 Subject: [PATCH] minor code review --- src/js/about.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/about.js b/src/js/about.js index 27b5a3d2a..9b5db6caa 100644 --- a/src/js/about.js +++ b/src/js/about.js @@ -1,7 +1,7 @@ /******************************************************************************* - µBlock - a browser extension to block requests. - Copyright (C) 2014 Raymond Hill + uBlock Origin - a browser extension to block requests. + Copyright (C) 2014-2016 Raymond Hill This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,7 +19,7 @@ Home: https://github.com/gorhill/uBlock */ -/* global vAPI, uDom */ +/* global uDom */ /******************************************************************************/ @@ -34,7 +34,7 @@ var messager = vAPI.messaging.channel('about.js'); /******************************************************************************/ var onAppDataReady = function(appData) { - uDom('#aboutNameVer').html(appData.name + ' v' + appData.version); + uDom('#aboutNameVer').text(appData.name + ' v' + appData.version); }; messager.send({ what: 'getAppData' }, onAppDataReady);