1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 18:35:09 +01:00

Fix comments on PR

This commit is contained in:
vrde 2015-10-19 17:24:49 +02:00
parent 2967a29f2e
commit 7ce98d0433
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ let CCRegisterPiece = React.createClass({
}, },
render() { render() {
setDocumentTitle('Register a new piece'); setDocumentTitle(getLangText('Register a new piece'));
return ( return (
<RegisterPiece <RegisterPiece
enableLocalHashing={false} enableLocalHashing={false}

View File

@ -6,7 +6,7 @@
* *
* @return {int} the number of unread notifications * @return {int} the number of unread notifications
*/ */
export function getUnreadCount() { function getUnreadCount() {
const match = document.title.match(/^\((\d+)\)/); const match = document.title.match(/^\((\d+)\)/);
return match ? match[1] : null; return match ? match[1] : null;
} }