Skip to content
Snippets Groups Projects
Commit 6d2c40a5 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

A little clean-up, no functional change.

parent d8f115ce
No related branches found
No related tags found
No related merge requests found
// $Id: syncdata.js,v 1.1 2018/01/17 02:45:48 rswindell Exp $
// Find the correct/full internal code for the "syncdata" sub-board:
"use strict;"
function find(code)
{
if(!code)
code = "syncdata";
code = "syncdata";
// Find the actual sub-code
var sub_code;
for(var s in msg_area.sub) {
var sub = msg_area.sub[s];
if(sub.code.substr(-code.length).toLowerCase() == code)
return sub.code;
if(s.substr(-code.length).toLowerCase() == code)
return s;
}
return false;
}
this;
\ No newline at end of file
this;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment