From 222997d166c5b9986afb6e2a474cd924324a3380 Mon Sep 17 00:00:00 2001 From: holan20180123 Date: Mon, 2 Aug 2021 09:14:55 +0800 Subject: [PATCH] * Fix bug #13823. --- module/doc/js/objectlibs.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/module/doc/js/objectlibs.js b/module/doc/js/objectlibs.js index c600222186..6f159aaca2 100644 --- a/module/doc/js/objectlibs.js +++ b/module/doc/js/objectlibs.js @@ -141,6 +141,12 @@ $(function() $('#outline li.has-list').addClass('open in'); $('#outline li.has-list>i+ul').prev('i').remove(); + $(document).on('click', '.detail-content a', function(event) + { + var target = $(this).attr('target'); + if($.cookie('isFullScreen') == 1 && target != '_blank') exitFullScreen(); + }) + /* Update doc content silently on switch doc version, story #40503 */ $(document).on('click', '.doc-version-menu a, #mainActions .container a', function(event) {