mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
Fix comments on PR
This commit is contained in:
parent
2967a29f2e
commit
7ce98d0433
@ -82,7 +82,7 @@ let CCRegisterPiece = React.createClass({
|
||||
},
|
||||
|
||||
render() {
|
||||
setDocumentTitle('Register a new piece');
|
||||
setDocumentTitle(getLangText('Register a new piece'));
|
||||
return (
|
||||
<RegisterPiece
|
||||
enableLocalHashing={false}
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @return {int} the number of unread notifications
|
||||
*/
|
||||
export function getUnreadCount() {
|
||||
function getUnreadCount() {
|
||||
const match = document.title.match(/^\((\d+)\)/);
|
||||
return match ? match[1] : null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user