Warning: Undefined variable $s_watching_topic_img in /usr/home/zenrat/public_html/tech/forums/viewtopic.php on line 677
|
JavaScript Cookie Script: Incomplete code cleanup?
At techpatterns.com/downloads/javascript_cookies.php , the Get_Cookie script includes:
:: Code :: return cookie_value;
break; Why is the break left in there after a return call? Back to top |
|||||
|
good point. Just an oversight, and you are the first person to note it after how many 10k's of downloads of this script.
I would imagine it was put in there originally just as a double safeguard in case for some weird reason the return wasn't instant or whatever, who knows, heh. Back to top |
|||||
|
All times are GMT - 8 Hours
|
|||||