mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Fixed missing target issue.
This commit is contained in:
@@ -397,7 +397,7 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
|
||||
}
|
||||
|
||||
// BC.
|
||||
if(options.target.charAt(0) != "#" && options.target.charAt(0) != ".")
|
||||
if(options.target && options.target.charAt(0) != "#" && options.target.charAt(0) != ".")
|
||||
{
|
||||
options.target = "#" + options.target;
|
||||
}
|
||||
|
Reference in New Issue
Block a user