Fix the language display scroll sync with regions map

* Remove jquery.viewport which was not able to give correct viewport
relative to container.
* The scroll syncing part is written by Niklas

Change-Id: I1cbeaa2a5c297deab7338f331d8db69c17aa2214
This commit is contained in:
Santhosh Thottingal
2012-07-03 16:21:07 +05:30
committed by Niklas Laxström
parent 607abaa201
commit 566651b9f6
4 changed files with 15 additions and 71 deletions

View File

@@ -56,15 +56,6 @@ $wgResourceModules['ext.uls.lcd'] = array(
'localBasePath' => $dir,
'remoteExtPath' => 'UniversalLanguageSelector',
'styles' => 'resources/css/ext.uls.lcd.css',
'dependencies' => array(
'jquery.viewport',
),
);
$wgResourceModules['jquery.viewport'] = array(
'scripts' => 'resources/jquery.viewport.js',
'localBasePath' => $dir,
'remoteExtPath' => 'UniversalLanguageSelector',
);
$wgResourceModules['ext.uls.core'] = array(