Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small fixes #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyvore/pyvore/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jQuery(function($) {
},

render_sessions: function() {
if (user_name != undefined) {
if (typeof(user_name)!='undefined') {
var me = this;
var layout = this.use_layout("main_layout", "#container-body");

Expand Down
6 changes: 3 additions & 3 deletions pyvore/pyvore/static/libs/socket.io.js
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@
, options.host + ':' + options.port
, options.resource
, io.protocol
, io.util.query(this.options.query, 't=' + +new Date)
, io.util.query(this.options.query, 't=' + (+new Date))
].join('/');

if (this.isXDomain() && !io.util.ua.hasCORS) {
Expand Down Expand Up @@ -3128,7 +3128,7 @@ var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="Sho

XHR.prototype.request = function (method) {
var req = io.util.request(this.socket.isXDomain())
, query = io.util.query(this.socket.options.query, 't=' + +new Date);
, query = io.util.query(this.socket.options.query, 't=' + (+new Date));

req.open(method || 'GET', this.prepareUrl() + query, true);

Expand Down Expand Up @@ -3257,7 +3257,7 @@ var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="Sho
iframeC.appendChild(this.iframe);

var self = this
, query = io.util.query(this.socket.options.query, 't='+ +new Date);
, query = io.util.query(this.socket.options.query, 't='+ (+new Date));

this.iframe.src = this.prepareUrl() + query;

Expand Down
5 changes: 1 addition & 4 deletions pyvore/pyvore/templates/base.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@

<!-- Le styles -->

{% assets filters="cssmin", output="styles.css",
"bootstrap/css/bootstrap.css",
"styles.css"
%}
{% assets filters="cssmin", output="pck_styles.css", "bootstrap/css/bootstrap.css", "styles.css" %}
<link rel="stylesheet" type="text/css" href="{{ ASSET_URL }}" />
{% endassets %}

Expand Down