diff options
author | “shentao” <shentao@chinamobile.com> | 2017-01-26 16:19:00 +0800 |
---|---|---|
committer | “shentao” <shentao@chinamobile.com> | 2017-01-26 16:21:54 +0800 |
commit | 6f01a8756fe38c0d6565c369005142adda4b9b57 (patch) | |
tree | 5f360e44ac9bb70f83781af1303d3915bb45cd3f /openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js | |
parent | 3f47ae6567e95e118c4a477e24cdc509dd0dce89 (diff) |
rebuild GUI structure(only changed modules' name)
Issue-id : CLIENT-14
Change-Id: Ie4fa30f1a51393576fbdc68e12d810565cbf06eb
Signed-off-by: “shentao” <shentao@chinamobile.com>
Diffstat (limited to 'openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js')
-rw-r--r-- | openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js deleted file mode 100644 index 25757af5..00000000 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js +++ /dev/null @@ -1,13 +0,0 @@ -/**
- * Project: Bootstrap Hover Dropdown
- * Author: Cameron Spear
- * Contributors: Mattia Larentis
- *
- * Dependencies: Bootstrap's Dropdown plugin, jQuery
- *
- * A simple plugin to enable Bootstrap dropdowns to active on hover and provide a nice user experience.
- *
- * License: MIT
- *
- * http://cameronspear.com/blog/bootstrap-dropdown-on-hover-plugin/
- */(function(b,a,c){var d=b();b.fn.dropdownHover=function(e){if("ontouchstart" in document){return this}d=d.add(this.parent());return this.each(function(){var m=b(this),l=m.parent(),k={delay:500,instantlyCloseOthers:true},i={delay:b(this).data("delay"),instantlyCloseOthers:b(this).data("close-others")},f="show.bs.dropdown",j="hide.bs.dropdown",g=b.extend(true,{},k,e,i),h;l.hover(function(n){if(!l.hasClass("open")&&!m.is(n.target)){return true}d.find(":focus").blur();if(g.instantlyCloseOthers===true){d.removeClass("open")}a.clearTimeout(h);l.addClass("open");m.trigger(f)},function(){h=a.setTimeout(function(){l.removeClass("open");m.trigger(j)},g.delay)});m.hover(function(){d.find(":focus").blur();if(g.instantlyCloseOthers===true){d.removeClass("open")}a.clearTimeout(h);l.addClass("open");m.trigger(f)});l.find(".dropdown-submenu").each(function(){var o=b(this);var n;o.hover(function(){a.clearTimeout(n);o.children(".dropdown-menu").show();o.siblings().children(".dropdown-menu").hide()},function(){var p=o.children(".dropdown-menu");n=a.setTimeout(function(){p.hide()},g.delay)})})})};b(document).ready(function(){b('[data-hover="dropdown"]').dropdownHover()})})(jQuery,this);
\ No newline at end of file |