Show More
@@ -31,13 +31,13 b' var IPython = (function (IPython) {' | |||||
31 | LoginWidget.prototype.bind_events = function () { |
|
31 | LoginWidget.prototype.bind_events = function () { | |
32 | var that = this; |
|
32 | var that = this; | |
33 | this.element.find("button#logout").click(function () { |
|
33 | this.element.find("button#logout").click(function () { | |
34 |
window.location = IPyth |
|
34 | window.location = IPython.utils.url_join_encode( | |
35 | that.base_url, |
|
35 | that.base_url, | |
36 | "logout" |
|
36 | "logout" | |
37 | ); |
|
37 | ); | |
38 | }); |
|
38 | }); | |
39 | this.element.find("button#login").click(function () { |
|
39 | this.element.find("button#login").click(function () { | |
40 |
window.location = IPyth |
|
40 | window.location = IPython.utils.url_join_encode( | |
41 | that.base_url, |
|
41 | that.base_url, | |
42 | "login" |
|
42 | "login" | |
43 | ); |
|
43 | ); |
General Comments 0
You need to be logged in to leave comments.
Login now