Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libs/bower_components/jScrollPane/dynamic_width.html')
-rw-r--r--libs/bower_components/jScrollPane/dynamic_width.html27
1 files changed, 10 insertions, 17 deletions
diff --git a/libs/bower_components/jScrollPane/dynamic_width.html b/libs/bower_components/jScrollPane/dynamic_width.html
index 0a8949c289..90e5fdc085 100644
--- a/libs/bower_components/jScrollPane/dynamic_width.html
+++ b/libs/bower_components/jScrollPane/dynamic_width.html
@@ -35,7 +35,7 @@
</style>
<!-- latest jQuery direct from google's CDN -->
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<!-- the mousewheel plugin -->
<script type="text/javascript" src="script/jquery.mousewheel.js"></script>
<!-- the jScrollPane script -->
@@ -60,22 +60,15 @@
'resize',
function()
{
- if ($.browser.msie) {
- // IE fires multiple resize events while you are dragging the browser window which
- // causes it to crash if you try to update the scrollpane on every one. So we need
- // to throttle it to fire a maximum of once every 50 milliseconds...
- if (!throttleTimeout) {
- throttleTimeout = setTimeout(
- function()
- {
- api.reinitialise();
- throttleTimeout = null;
- },
- 50
- );
- }
- } else {
- api.reinitialise();
+ if (!throttleTimeout) {
+ throttleTimeout = setTimeout(
+ function()
+ {
+ api.reinitialise();
+ throttleTimeout = null;
+ },
+ 50
+ );
}
}
);