mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Fixed missing target issue.
This commit is contained in:
parent
80cf7652a9
commit
3a1d17e6a2
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user