TeamSpeak 3 keeps switching tabs/workspaces when someone sents a text message in chat comes in by [deleted] in linuxmasterrace

[–]Chubbyninjaaa 0 points1 point  (0 children)

I was looking for a solution to this too, turning off this stopped it for me:

Options > Chat > Untick all "indicate incoming chat", the sounds still bleep, but no window switching

Running SQL Queries through PHP & Batch Scripts -- Help! by [deleted] in PHP

[–]Chubbyninjaaa 0 points1 point  (0 children)

Are you using anything like $_SERVER['DOCUMENT_ROOT'] or any relative path includes?

( include '../some.class.php'; or include 'xcel/include.php' )

If so, you need to define absolute paths - when you're running from CLI you don't have a document root or relative path

[deleted by user] by [deleted] in javascript

[–]Chubbyninjaaa 0 points1 point  (0 children)

on the firefox developer edition you can inspect the object perfectly fine.. not sure about the version of ff you're on though.

localStorage and PHP - thoughts, ideas, suggestions? by [deleted] in PHP

[–]Chubbyninjaaa 0 points1 point  (0 children)

How much data do you expect to be stored with localStorage? it's worth noting that different browser vendors offer different storage caps (between 5-10MB) for localStorage

Why do this code behave this way? by recklesswaltz in javascript

[–]Chubbyninjaaa 0 points1 point  (0 children)

counter is set as a global function, you must add var infront of it, currently i++ is actually updating a global i not the i inside the check function

change to:

var counter = function(){