insert_tag - inserts only end tag, when no text selected - fixed.
[redakcja.git] / project / static / js / jquery.hpanel.js
index bec82e0..1ad0d17 100644 (file)
@@ -11,7 +11,7 @@
                        $('.panel-overlay', mydata.root).css('display', 'block');
                        return false;
                },
                        $('.panel-overlay', mydata.root).css('display', 'block');
                        return false;
                },
-               resize_changed: function(event) {
+       resize_changed: function(event) {
                        var old_width = parseInt(event.data.overlay.css('width'));
                        var delta = event.pageX + event.data.hotspot_x - old_width;
                        event.data.overlay.css({'width': old_width + delta});
                        var old_width = parseInt(event.data.overlay.css('width'));
                        var delta = event.pageX + event.data.hotspot_x - old_width;
                        event.data.overlay.css({'width': old_width + delta});