summaryrefslogtreecommitdiff
path: root/web-ui/app/js/page
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js/page')
-rw-r--r--web-ui/app/js/page/pane_contract_expand.js2
-rw-r--r--web-ui/app/js/page/router.js2
-rw-r--r--web-ui/app/js/page/router/url_params.js1
3 files changed, 3 insertions, 2 deletions
diff --git a/web-ui/app/js/page/pane_contract_expand.js b/web-ui/app/js/page/pane_contract_expand.js
index fdea3db6..153e38e5 100644
--- a/web-ui/app/js/page/pane_contract_expand.js
+++ b/web-ui/app/js/page/pane_contract_expand.js
@@ -43,7 +43,7 @@ define(['flight/lib/component', 'page/events'], function (describeComponent, eve
this.on(document, events.dispatchers.rightPane.openComposeBox, this.contractMiddlePaneExpandRightPane);
this.on(document, events.dispatchers.rightPane.openDraft, this.contractMiddlePaneExpandRightPane);
this.on(document, events.dispatchers.rightPane.openNoMessageSelected, this.expandMiddlePaneContractRightPane);
- this.expandMiddlePaneContractRightPane()
+ this.expandMiddlePaneContractRightPane();
});
}
diff --git a/web-ui/app/js/page/router.js b/web-ui/app/js/page/router.js
index 28f654bc..9b2516b0 100644
--- a/web-ui/app/js/page/router.js
+++ b/web-ui/app/js/page/router.js
@@ -23,7 +23,7 @@ define(['flight/lib/component', 'page/events', 'page/router/url_params'], functi
});
function createHash(data) {
- var hash = "/#/" + data.tag;
+ var hash = '/#/' + data.tag;
if (!_.isUndefined(data.mailIdent)) {
hash += '/mail/' + data.mailIdent;
}
diff --git a/web-ui/app/js/page/router/url_params.js b/web-ui/app/js/page/router/url_params.js
index 4048b802..3e999ecc 100644
--- a/web-ui/app/js/page/router/url_params.js
+++ b/web-ui/app/js/page/router/url_params.js
@@ -15,6 +15,7 @@
* along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
*/
define([], function () {
+ 'use strict';
function defaultTag() {
return 'inbox';