mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
JS callback function to check selector is valid or not. Missing LAN vars for prettyPhoto.
This commit is contained in:
@@ -23,7 +23,7 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
|
||||
e107.behaviors.initializeSmoothScrolling = {
|
||||
attach: function (context, settings)
|
||||
{
|
||||
if(window.location.hash)
|
||||
if(window.location.hash && e107.callbacks.isValidSelector(window.location.hash))
|
||||
{
|
||||
$(context).find('body').once('initialize-smooth-scrolling').each(function ()
|
||||
{
|
||||
|
Reference in New Issue
Block a user